Permalink
Browse files

Warning if loading a typing rule fails (libskk Issue#6).

  • Loading branch information...
1 parent 7296af8 commit 63d64da02b38786efd51f7c8c60f5f84fc326f6d @ueno committed Jan 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/engine.vala
View
@@ -319,6 +319,8 @@ class SkkEngine : IBus.Engine {
try {
context.typing_rule = new Skk.Rule (variant.get_string ());
} catch (Skk.RuleParseError e) {
+ warning ("can't load typing rule %s: %s",
+ variant.get_string (), e.message);
}
}

0 comments on commit 63d64da

Please sign in to comment.