Skip to content

Commit

Permalink
tooltips working
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelSilnaHealth committed Jan 15, 2025
1 parent 356c689 commit 2b18ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dramatiq/results/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def after_skip_message(self, broker, message):
Let after_nack handle the case where the message was skipped and failed.
"""
store_results, result_ttl = self._lookup_options(broker, message)
if store_results and not message.failed:
if store_results and (not message or not message.failed):
self.backend.store_result(message, None, result_ttl)

def after_nack(self, broker, message):
Expand Down

0 comments on commit 2b18ff9

Please sign in to comment.