Commit 7f370560 authored by Daniel Stan's avatar Daniel Stan

auth.py: s/print_exc/format_exc/

parent 703f0591
......@@ -398,7 +398,7 @@ def radius_response(func):
logger.debug('RADIUS Request processed. Answered: %s', (response,))
return cleaned_response(response)
except Exception:
logger.error(traceback.print_exc())
logger.error(traceback.format_exc())
logger.error('RADIUS Request data: %s', request)
return radiusd.RLM_MODULE_FAIL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment