Skip to content

Commit

Permalink
Merge pull request #12 from digitalfortress-dev/chore/allow-retries
Browse files Browse the repository at this point in the history
chore: allow retries
  • Loading branch information
haihuynhDF authored May 14, 2024
2 parents 97800cb + 186d22a commit 8c6e902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sqs-client"
version = "0.1.5"
version = "0.1.6"
authors = [
{name="Digital Fortress", email="[email protected]" },
]
Expand Down
3 changes: 1 addition & 2 deletions sqs_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,10 @@ def subscribe(
for message in messages["Messages"]:
try:
callback(message)
self.delete_message(queue_name, message)
except Exception as e:
exception(e)

self.delete_message(queue_name, message)

def publish(
self,
queue_name,
Expand Down

0 comments on commit 8c6e902

Please sign in to comment.