mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 12:53:11 +00:00
return error code instead of raise except
This commit is contained in:
parent
799e11d0f2
commit
13c6402364
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue