Better exception logging and small pypo exception fix

This commit is contained in:
Albert Santoni 2015-02-26 13:52:51 -05:00
parent 016c89ea96
commit 0b1af01822
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ class PypoFile(Thread):
except IOError as e:
logging.debug("Failed to open config file at %s: %s" % (config_path, e.strerror))
sys.exit()
except Exception:
except Exception as e:
logging.debug(e.strerror)
sys.exit()