diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-09-27 17:48:05 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-09-27 17:48:05 +0800 |
commit | f5d073b53bff179858a0175b9e4948efad138696 (patch) | |
tree | 0bb49bca4a38dca8c26afa3e111183bd65bcca06 | |
parent | c9d39cd617e3b766e3d0750a110d3753958a417f (diff) | |
download | ibus-f5d073b53bff179858a0175b9e4948efad138696.tar.gz ibus-f5d073b53bff179858a0175b9e4948efad138696.tar.xz ibus-f5d073b53bff179858a0175b9e4948efad138696.zip |
Refine error message.
-rw-r--r-- | daemon/_dbus.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/_dbus.py b/daemon/_dbus.py index 4a1f671..f6216ef 100644 --- a/daemon/_dbus.py +++ b/daemon/_dbus.py @@ -44,7 +44,7 @@ class MatchRule: try: return eval("_fn(%s)" % rule) except: - raise ibus.IBusException("Parse match rule failed") + raise ibus.IBusException("Parse match rule failed\n%s" % rule) def match_message(self, dbusobj, message): if self.__type == 'signale' and message.get_type() != 4: |