Added traceback print when dictionary error.
svn: r17580
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user