8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

return error code instead of raise except

This commit is contained in:
Charlie Jacomme 2018-08-12 12:01:42 +02:00 committed by Gabriel Detraz
parent 799e11d0f2
commit 13c6402364

View file

@ -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