summaryrefslogtreecommitdiff
path: root/caribou
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2010-07-23 11:49:16 -0700
committerEitan Isaacson <eitan@monotonous.org>2010-07-23 11:52:42 -0700
commit96799b350abda6aee35ece566ae1a4b1c8ea3e08 (patch)
tree1ede40f50caa65fcacd9d20d7d53753ddc3c63f3 /caribou
parent5813683a2373220e835c53b2dd8aee3fa3984a11 (diff)
downloadcaribou-96799b350abda6aee35ece566ae1a4b1c8ea3e08.tar.gz
Print exceptions.
Diffstat (limited to 'caribou')
-rw-r--r--caribou/ui/keyboard.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/caribou/ui/keyboard.py b/caribou/ui/keyboard.py
index ae0f2a5..67d580d 100644
--- a/caribou/ui/keyboard.py
+++ b/caribou/ui/keyboard.py
@@ -29,6 +29,7 @@ import gtk
import sys
import virtkey
import os
+import traceback
try:
import json
except ImportError:
@@ -222,8 +223,8 @@ class KbLayoutDeserializer(object):
basename, ext = os.path.splitext(kb_file)
try:
kb_layouts = self._deserialize_from_format(ext, contents)
- except:
- pass
+ except Exception, e:
+ traceback.print_exc()
else:
return kb_layouts
return []