Commit d2518611 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Proper exception representation

parent 5fae6467
......@@ -65,6 +65,6 @@ if os.path.exists(SYNNEFO_SETTINGS_DIR):
try:
execfile(os.path.abspath(f))
except Exception as e:
print >>sys.stderr, "Failed to read settings file: %s [%s]" % \
print >>sys.stderr, "Failed to read settings file: %s [%r]" % \
(os.path.abspath(f), e)
raise SystemExit(1)
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