[caribou] Print exceptions.
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou] Print exceptions.
- Date: Fri, 23 Jul 2010 18:52:59 +0000 (UTC)
commit 96799b350abda6aee35ece566ae1a4b1c8ea3e08
Author: Eitan Isaacson <eitan monotonous org>
Date: Fri Jul 23 11:49:16 2010 -0700
Print exceptions.
caribou/ui/keyboard.py | 5 +++--
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 []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]