Implement workspace history reconciliation
This commit is contained in:
@@ -1025,7 +1025,18 @@ class SignalClient(ClientBase):
|
||||
text=text,
|
||||
attachments=attachments,
|
||||
metadata=metadata,
|
||||
detailed=True,
|
||||
)
|
||||
if isinstance(result, dict) and (not bool(result.get("ok"))):
|
||||
status_value = int(result.get("status") or 0)
|
||||
error_text = str(result.get("error") or "").strip()
|
||||
recipient_value = str(result.get("recipient") or recipient).strip()
|
||||
raise RuntimeError(
|
||||
"signal_send_failed"
|
||||
f" status={status_value or 'unknown'}"
|
||||
f" recipient={recipient_value or 'unknown'}"
|
||||
f" error={error_text or 'unknown'}"
|
||||
)
|
||||
if result is False or result is None:
|
||||
raise RuntimeError("signal_send_failed")
|
||||
transport.set_runtime_command_result(
|
||||
|
||||
Reference in New Issue
Block a user