Prepend 'Error: ' to catch-all

This commit is contained in:
Henrik Lissner 2013-12-20 13:18:03 -05:00
parent 47811a4c1a
commit 1e3a07f6ef

View file

@ -83,4 +83,4 @@ except IOError, e:
print("{0} file couldn't be found/opened".format(e.filename)) print("{0} file couldn't be found/opened".format(e.filename))
sys.exit(1) sys.exit(1)
except Exception, msg: except Exception, msg:
print(msg) print("Error: " + msg)