Skip to content

Commit

Permalink
Log exception for webhook worker (#1377)
Browse files Browse the repository at this point in the history
.warning sometimes shows empty message rather than actual error
  • Loading branch information
JabLuszko authored Sep 20, 2024
1 parent 6e4e58c commit aaf16a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mapadroid/webhook/webhookworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ async def __send_webhook(self, payloads):
whcount_text, await mad_json_dumps(self.__payload_type_count(payload_chunk)))
except Exception as e:
logger.warning("Exception occured while sending webhook: {}", e)
logger.exception(e)

current_pl_num += 1
current_wh_num += 1
Expand Down

0 comments on commit aaf16a3

Please sign in to comment.