Added traceback print when dictionary error.

svn: r17580
This commit is contained in:
Peter Landgren 2011-05-27 10:47:16 +00:00
parent a71636ec4e
commit 418ee7de7d

View File

@ -103,6 +103,8 @@ class Spell(object):
gtkspell_spell = gtkspell.Spell(self.textview)
self._active_spellcheck = spellcheck_code
except:
import traceback
print traceback.print_exc()
# attaching the spellchecker will fail if
# the language does not exist
# and presumably if there is no dictionary