Commit 8161a646 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix a misuse of exc_info in logging.info

This is my fault, sorry.

Reviewed-by: imsnah
parent 38206f3c
......@@ -314,7 +314,7 @@ def ReadPidFile(pidfile):
try:
pid = int(pf.read())
except ValueError, err:
logging.info("Can't parse pid file contents", exc_info=err)
logging.info("Can't parse pid file contents", exc_info=True)
return 0
return pid
......
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