Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
This commit is contained in:
parent
33d15f7c85
commit
a50c284076
|
@ -294,7 +294,7 @@ class LogRecord(object):
|
|||
# for an example
|
||||
try:
|
||||
self.processName = mp.current_process().name
|
||||
except StandardError:
|
||||
except Exception:
|
||||
pass
|
||||
if logProcesses and hasattr(os, 'getpid'):
|
||||
self.process = os.getpid()
|
||||
|
|
Loading…
Reference in New Issue