Commit 8502f655 authored by Matthias's avatar Matthias
Browse files

do some fixes

parent 030898ba
Pipeline #11687 passed with stages
in 5 minutes and 26 seconds
......@@ -59,7 +59,7 @@ class MonitorDrupalJsonApiInstitution(Resource):
'field_text': drupalResponse['attributes']['field_text']
}
except Exception as ex:
report += 'Exception' + str(ex) + '\n'
report += 'Exception: ' + str(ex) + '\n'
# 2. write info into kafka topic
try:
......
......@@ -56,7 +56,7 @@ class MonitorDrupalJsonApiRecordSet(Resource):
'title': drupalRecordSet['attributes']['title'],
'field_memobase_id': drupalRecordSet['attributes']['field_memobase_id'],
'field_text': drupalRecordSet['attributes']['field_text'],
'field_import_process': drupalRecordSet['field_import_process'],
'field_import_process': drupalRecordSet['attributes']['field_import_process'],
'field_institution': drupalRecordSet['relationships']['field_institution']
}
except Exception as ex:
......
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