Wrap the impl side of implementations in handle_error unconditionally as well

This commit is contained in:
skizzerz 2015-11-15 13:51:46 -06:00
parent 6f83a909df
commit a26f912f6e
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,7 @@ def impl(f):
IMPLS[f.__name__] = handle_error(f)
# allows this method to be called directly in our module rather
# than forcing use of the stub's module
return f
return handle_error(f)
def _sigmatch(f):
rs = inspect.signature(f)

View File

@ -2066,7 +2066,6 @@ def fday(cli, nick, chan, rest):
transition_day(cli)
# Specify force = "nick" to force nick to be lynched
@handle_error
@proxy.impl
def chk_decision(cli, force = ""):
with var.GRAVEYARD_LOCK: