Wrap the impl side of implementations in handle_error unconditionally as well
This commit is contained in:
parent
6f83a909df
commit
a26f912f6e
@ -59,7 +59,7 @@ def impl(f):
|
|||||||
IMPLS[f.__name__] = handle_error(f)
|
IMPLS[f.__name__] = handle_error(f)
|
||||||
# allows this method to be called directly in our module rather
|
# allows this method to be called directly in our module rather
|
||||||
# than forcing use of the stub's module
|
# than forcing use of the stub's module
|
||||||
return f
|
return handle_error(f)
|
||||||
|
|
||||||
def _sigmatch(f):
|
def _sigmatch(f):
|
||||||
rs = inspect.signature(f)
|
rs = inspect.signature(f)
|
||||||
|
@ -2066,7 +2066,6 @@ def fday(cli, nick, chan, rest):
|
|||||||
transition_day(cli)
|
transition_day(cli)
|
||||||
|
|
||||||
# Specify force = "nick" to force nick to be lynched
|
# Specify force = "nick" to force nick to be lynched
|
||||||
@handle_error
|
|
||||||
@proxy.impl
|
@proxy.impl
|
||||||
def chk_decision(cli, force = ""):
|
def chk_decision(cli, force = ""):
|
||||||
with var.GRAVEYARD_LOCK:
|
with var.GRAVEYARD_LOCK:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user