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:
Vinay Sajip 2012-01-25 17:41:13 +00:00
parent 33d15f7c85
commit a50c284076
1 changed files with 1 additions and 1 deletions

View File

@ -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()