Update waku/wrapper.py

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
This commit is contained in:
AYAHASSAN287 2026-04-07 17:15:23 +02:00 committed by GitHub
parent cc978c3190
commit 4481136833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)