|
except CommandError as e: |
|
logger.error(e) |
|
pull.create_issue_comment("```\n{}\n```".format(e.message)) |
|
except Exception as e: |
|
logger.error(e) |
|
comment.create_reaction('-1') |
We should use logger.exception not logger.error to get the full traceback, else it's harder to tell what happened.
Reporter: David Li / @lidavidm
Assignee: David Li / @lidavidm
PRs and other links:
Note: This issue was originally created as ARROW-12376. Please see the migration documentation for further details.
arrow/dev/archery/archery/bot.py
Lines 145 to 150 in 9c85e54
We should use
logger.exceptionnotlogger.errorto get the full traceback, else it's harder to tell what happened.Reporter: David Li / @lidavidm
Assignee: David Li / @lidavidm
PRs and other links:
Note: This issue was originally created as ARROW-12376. Please see the migration documentation for further details.