Merge pull request #430 from pikers/catch_notification_daemon_error
Catch notification daemon errorcz_post_ftx
commit
5915cf3acf
|
@ -94,5 +94,11 @@ async def notify_from_ems_status_msg(
|
|||
# pack in a broker independent way?
|
||||
f"'{msg.pformat()}'",
|
||||
],
|
||||
capture_stdout=True,
|
||||
capture_stderr=True,
|
||||
check=False,
|
||||
)
|
||||
if result.returncode != 0:
|
||||
log.warn(f'No notification daemon installed stderr: {result.stderr}')
|
||||
|
||||
log.runtime(result)
|
||||
|
|
Loading…
Reference in New Issue