Skip to content

Commit

Permalink
Merge pull request #34 from cuda-networks/fix_log_receive_count
Browse files Browse the repository at this point in the history
yet another minor log fix
  • Loading branch information
alexeyts authored May 1, 2019
2 parents 2540ad8 + a823bfc commit fcf3f7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions eb_sqs/worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def execute(self, msg, receive_count=1):
worker_task = WorkerTask.deserialize(msg)

if receive_count > 1:
logger.warning('[django-eb-sqs] SQS re-queued message {} times - queue: {} func: {} retry: {}'.format(
receive_count, worker_task.queue, worker_task.func, worker_task.retry
logger.warning('[django-eb-sqs] SQS re-queued message {} times - queue: {} func: {} retry: {} args: {}'.format(
receive_count, worker_task.queue, worker_task.abs_func_name, worker_task.retry, worker_task.args
))
except Exception as ex:
logger.exception(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='django-eb-sqs',
version='1.15',
version='1.16',
package_dir={'eb_sqs': 'eb_sqs'},
include_package_data=True,
packages=find_packages(),
Expand Down

0 comments on commit fcf3f7c

Please sign in to comment.