[issue39618] logger.exception with default message

2020-02-14 Thread Vinay Sajip
Vinay Sajip added the comment: Sorry, I don't think this change is a good idea. It's not clear what the value is in logging exceptions with no message. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue39618] logger.exception with default message

2020-02-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue39618] logger.exception with default message

2020-02-12 Thread Denis Vieira
New submission from Denis Vieira : On my Python projects i like to use the logger.exception() method without any other message. I'm forced to send an empty string on every call. logger.exception('') It would be nice the exception method have the expected parameter "msg" with an default valu