* src/gramps.py: catch logging error and ignore.

svn: r7168
This commit is contained in:
Brian Matherly 2006-08-13 04:18:59 +00:00
parent 9c21616e00
commit 7cd3ebaa77
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -139,8 +139,11 @@ def setup_logging():
# Ctrl-C is not a bug.
return
import traceback
try:
log.error("Unhandled exception\n" +
"".join(traceback.format_exception(type, value, tb)))
except IOError:
pass
sys.excepthook = exc_hook