Kaydet (Commit) b7403435 authored tarafından Vinay Sajip's avatar Vinay Sajip

Issue #28335: made minor improvement to implementation.

üst aa27582f
...@@ -559,7 +559,7 @@ class DictConfigurator(BaseConfigurator): ...@@ -559,7 +559,7 @@ class DictConfigurator(BaseConfigurator):
handler.name = name handler.name = name
handlers[name] = handler handlers[name] = handler
except Exception as e: 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) deferred.append(name)
else: else:
raise ValueError('Unable to configure handler ' raise ValueError('Unable to configure handler '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment