Check and correct exceptions
During testing of the loginpanel, exceptions where not always catched as expected. If there is an upstream exception, the kratos.py
file throws a BackendError
, which should be catched by the app.py
application to catch and handle. However, it seems the exceptions fall true and let flask handle the exception instead. It need to be investigated and checked what goes wrong here.