From 13c640236418b162c11c6d2713d73d478f5513d6 Mon Sep 17 00:00:00 2001 From: Charlie Jacomme Date: Sun, 12 Aug 2018 12:01:42 +0200 Subject: [PATCH] return error code instead of raise except --- freeradius_utils/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeradius_utils/auth.py b/freeradius_utils/auth.py index 74776e6b..245c683e 100644 --- a/freeradius_utils/auth.py +++ b/freeradius_utils/auth.py @@ -124,7 +124,7 @@ def radius_event(fun): return fun(data) except Exception as err: logger.error('Failed %r on data %r' % (err, auth_data)) - raise + return radiusd.RLM_MODULE_FAIL return new_f