mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +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)
|
return fun(data)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error('Failed %r on data %r' % (err, auth_data))
|
logger.error('Failed %r on data %r' % (err, auth_data))
|
||||||
raise
|
return radiusd.RLM_MODULE_FAIL
|
||||||
|
|
||||||
return new_f
|
return new_f
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue