[New-bugs-announce] [issue28335] Exception reporting in `logging.config`

Ram Rachum report at bugs.python.org
Sat Oct 1 14:20:17 EDT 2016


New submission from Ram Rachum:

In `logging.config.DictConfigurator.configure`, there are exceptions that are caught and then replaced with `ValueError` exceptions. I think you should use the `raise x from y` syntax so that the original tracebacks will be preserved. (I'm debugging such an exception now and it's quite frustrating that I'm not seeing the full traceback of the original exception.)

----------
components: Library (Lib)
messages: 277826
nosy: cool-RR, vinay.sajip
priority: normal
severity: normal
status: open
title: Exception reporting in `logging.config`
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28335>
_______________________________________


More information about the New-bugs-announce mailing list