Skip to content

[Dev] archery trigger-bot should use logger.exception #28173

@asfimport

Description

@asfimport

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions