mirror of
https://github.com/logos-messaging/logos-messaging-python-bindings.git
synced 2026-04-08 13:23:50 +00:00
Update waku/wrapper.py
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
This commit is contained in:
parent
cc978c3190
commit
4481136833
@ -119,7 +119,7 @@ def _wait_cb_ok(state, op_name: str, timeout_s: float = 20.0) -> Result[int, str
|
|||||||
|
|
||||||
cb_ret, cb_msg = wait_result.ok_value
|
cb_ret, cb_msg = wait_result.ok_value
|
||||||
if cb_ret != 0:
|
if cb_ret != 0:
|
||||||
return Err(f"{op_name}: callback failed (ret={cb_ret}) msg={cb_msg!r}")
|
return Err(f"callback failed in _wait_cb_ok: {op_name} (ret={cb_ret}) msg={cb_msg!r}")
|
||||||
|
|
||||||
return Ok(cb_ret)
|
return Ok(cb_ret)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user