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

Remplace raise par un appel aux fonction freeradius

This commit is contained in:
detraz 2018-11-05 14:26:46 +01:00
parent be2657ea59
commit de04a7ce40

View file

@ -122,7 +122,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