automated terminal push
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user