From a26f912f6ee28976b71df110f34acb5db0b8b2e0 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Sun, 15 Nov 2015 13:51:46 -0600 Subject: [PATCH] Wrap the impl side of implementations in handle_error unconditionally as well --- src/proxy.py | 2 +- src/wolfgame.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/proxy.py b/src/proxy.py index 4a43004..2e08803 100644 --- a/src/proxy.py +++ b/src/proxy.py @@ -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) diff --git a/src/wolfgame.py b/src/wolfgame.py index 9f6228c..db6938a 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -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: