mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-23 10:42:00 +00:00
style: strip trailing whitespace in cron scheduler live-adapter block
Follow-up on salvaged PR #49280.
This commit is contained in:
parent
3a6c171e9e
commit
c1a0b6a5f1
1 changed files with 1 additions and 1 deletions
|
|
@ -836,7 +836,7 @@ def _deliver_result(job: dict, content: str, adapters=None, loop=None) -> Option
|
|||
except Exception as ex:
|
||||
target_errors.append(f"live adapter send failed: {ex}")
|
||||
raise
|
||||
|
||||
|
||||
if send_result is None or not getattr(send_result, "success", True):
|
||||
err = getattr(send_result, "error", "unknown") if send_result else "no response from adapter"
|
||||
msg = f"live adapter send to {platform_name}:{chat_id} failed: {err}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue