automated terminal push

This commit is contained in:
Your Name
2025-02-12 11:06:22 -05:00
parent 2b86141b99
commit 6667c774c3
7 changed files with 189 additions and 8 deletions

View File

@@ -51,13 +51,13 @@ class MyListener(stomp.ConnectionListener):
print(f"exception / something went wrong when the sully gnome robot was downloading: {e}")
RestAPIClient.addDownloadFailure(message.body)
RestAPIClient.addDownloadFailure(message.body, e)
def on_error(headers, message):
print('received an error "%s"' % message)
RestAPIClient.addDownloadFailure(message.body)
RestAPIClient.addDownloadFailure(message.body, "error from onmessage (consumer.py)")
print("## ")
print("## starting > JMS consumer (yankee-sully-channels-monthly)")