provide debug info when collection corrupt

This commit is contained in:
dae 2014-06-26 07:37:16 +09:00
parent 1b646c1c8d
commit 48dbc48b65

View File

@ -273,7 +273,7 @@ To import into a password protected profile, please open the profile before atte
# warn user
showWarning("""\
Your collection is corrupt. Please see the manual for \
how to restore from a backup.""")
how to restore from a backup."""+"\n\n"+_("Debug info:")+"\n"+traceback.format_exc())
# move it out of the way so the profile can be used again
newpath = cpath+str(intTime())
os.rename(cpath, newpath)