ueno/libskk

Errors in json rule files are not shown

tamo opened this issue · 1 comments

tamo commented

If you have an error in metadata.json, the error will be shown
at the moment ibus-setup-skk is invoked:
WARNING: rule.vala:307: can't load metadata ........(snip)

But errors in rom-kana/default.json will not be shown.
Even worse: default ruleset will be silently used.

ueno commented

I think it would be an issue of ibus-skk rather than libskk. Added warning in the commit ueno/ibus-skk@63d64da

Even worse: default ruleset will be silently used.

I'm not sure which is better to abort or fallback to the default.