Skip to content

Commit 489ce81

Browse files
committed
Extend _handle_webhooks logging to include topic if an error occurs.
1 parent d1eb3c2 commit 489ce81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/aries-basic-controller/aries_basic_controller/aries_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def _handle_webhook(self, topic, payload):
218218
pub.sendMessage(topic, payload=payload)
219219
# return web.Response(status=200)
220220
except Exception as exc:
221-
logger.debug(f"Handling webhooks failed! {exc!r} occurred.")
221+
logger.debug(f"Handling webhooks failed! {exc!r} occurred when trying to handle this topic: {topic}")
222222

223223

224224
async def terminate(self):

0 commit comments

Comments
 (0)