mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #28335: made minor improvement to implementation.
This commit is contained in:
parent
aa27582f35
commit
b74034351f
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ class DictConfigurator(BaseConfigurator):
|
|||
handler.name = name
|
||||
handlers[name] = handler
|
||||
except Exception as e:
|
||||
if 'Unable to set target handler' in str(e):
|
||||
if 'target not configured yet' in str(e.__cause__):
|
||||
deferred.append(name)
|
||||
else:
|
||||
raise ValueError('Unable to configure handler '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue