Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion awsimple/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__application_name__ = "awsimple"
__title__ = __application_name__
__author__ = "abel"
__version__ = "7.2.0"
__version__ = "7.2.1"
__author_email__ = "j@abel.co"
__url__ = "https://github.com/jamesabel/awsimple"
__download_url__ = "https://github.com/jamesabel/awsimple"
Expand Down
4 changes: 4 additions & 0 deletions awsimple/pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ def run(self):
sns.publish(message_string)
except Empty:
pass
except RuntimeError as e:
log.info(f"SQS,{self.sqs_queue_name=},{e}")

# sub
if sqs_thread is not None:
Expand All @@ -249,6 +251,8 @@ def run(self):
sqs_metadata.update_table_mtime()
except Empty:
pass # no message
except RuntimeError as e:
log.info(f"SQS,{self.sqs_queue_name=},{e}")

if self._new_event.wait(self._new_event_wait_time): # timeout in case the new event technique fails
self._new_event.clear()
Expand Down
Loading