Skip to content

Conversation

@rotu
Copy link
Contributor

@rotu rotu commented Mar 25, 2020

Use logger.exception to format current traceback in an error

rotu added 2 commits March 25, 2020 18:03
Use logger.exception to format current traceback in an error
@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Mar 27, 2020
@dirk-thomas
Copy link
Member

@rotu Friendly ping.

@rotu rotu marked this pull request as draft April 14, 2020 17:48
@rotu
Copy link
Contributor Author

rotu commented Apr 14, 2020

Oof. I dropped the ball here; converting to a draft. BTW, do you have a preference between logger.exception(msg) versus logger.error(msg, exc_info=True)?

@dirk-thomas
Copy link
Member

do you have a preference between logger.exception(msg) versus logger.error(msg, exc_info=True)?

Within an except I would lean toward the former since that is exactly what that method is supposed to be used for.

@dirk-thomas dirk-thomas changed the title WIP: Exception output Exception output Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in progress Actively being worked on (Kanban column)

Development

Successfully merging this pull request may close these issues.

2 participants