Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa27582 commit b740343Copy full SHA for b740343
1 file changed
Lib/logging/config.py
@@ -559,7 +559,7 @@ def configure(self):
559
handler.name = name
560
handlers[name] = handler
561
except Exception as e:
562
- if 'Unable to set target handler' in str(e):
+ if 'target not configured yet' in str(e.__cause__):
563
deferred.append(name)
564
else:
565
raise ValueError('Unable to configure handler '
0 commit comments