diff --git a/ref-test/app/view/views.py b/ref-test/app/view/views.py index 524fe12..7b6a844 100644 --- a/ref-test/app/view/views.py +++ b/ref-test/app/view/views.py @@ -38,8 +38,8 @@ def _view_console(id:str=None): datasets = Dataset.query.count() users = User.query.all() except Exception as exception: - write('system.log', f'Database error when processing request \'{request.url}\': {exception}') - return abort(500) + write('system.log', f'Database error when processing request \'{request.url}\': {exception}') + return abort(500) if not dataset: flash('Invalid dataset ID.', 'error') return redirect(url_for('admin._questions'))