* src/gramps.py: catch logging error and ignore.
svn: r7168
This commit is contained in:
parent
8dbbc8a0b0
commit
f98617dbf7
@ -1,5 +1,6 @@
|
||||
2006-08-12 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/FamilyGroup.py: use family_id instead of spouse_id
|
||||
* src/gramps.py: catch logging error and ignore.
|
||||
|
||||
2006-08-12 Don Allingham <don@gramps-project.org>
|
||||
* src/ReportBase/_FileEntry.py (FileEntry.select_file): force
|
||||
|
@ -139,9 +139,12 @@ def setup_logging():
|
||||
# Ctrl-C is not a bug.
|
||||
return
|
||||
import traceback
|
||||
log.error("Unhandled exception\n" +
|
||||
"".join(traceback.format_exception(type, value, tb)))
|
||||
|
||||
try:
|
||||
log.error("Unhandled exception\n" +
|
||||
"".join(traceback.format_exception(type, value, tb)))
|
||||
except IOError:
|
||||
pass
|
||||
|
||||
sys.excepthook = exc_hook
|
||||
|
||||
def run():
|
||||
|
Loading…
Reference in New Issue
Block a user