From 222878f4a457a356b0e121795e5f8e5770fa1c03 Mon Sep 17 00:00:00 2001
From: David Li
Date: Wed, 14 Apr 2021 15:33:39 -0400
Subject: [PATCH] ARROW-12376: [Dev] Log traceback for unexpected exceptions in
archery trigger-bot
---
dev/archery/archery/bot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/archery/archery/bot.py b/dev/archery/archery/bot.py
index 27cf2470907..c69cf9112da 100644
--- a/dev/archery/archery/bot.py
+++ b/dev/archery/archery/bot.py
@@ -146,7 +146,7 @@ def handle_issue_comment(self, command, payload):
logger.error(e)
pull.create_issue_comment("```\n{}\n```".format(e.message))
except Exception as e:
- logger.error(e)
+ logger.exception(e)
comment.create_reaction('-1')
else:
comment.create_reaction('+1')