Commit 54a778c6 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fixes.

parent 632399a7
......@@ -114,6 +114,9 @@ def handle(error: Exception):
if local_logger is None:
local_logger = nomad_utils.get_logger(__name__)
# TODO the error seems not to be the actual exception, therefore
# there might be no stacktrace. Maybe there is a way to get the actual
# exception/stacktrace
local_logger.error('internal server error', exc_info=error)
return response
......@@ -86,7 +86,6 @@ def transform_reference(reference):
def v0Dot7(upload_data):
''' Inplace transforms v0.7.x upload data into v0.8.x upload data. '''
for calc in upload_data['calcs']:
calc_metadata = calc['metadata']
if 'pid' in calc_metadata:
Supports Markdown
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