Commit eed6ca80 authored by Matthias's avatar Matthias
Browse files

improve code

parent e9798b8d
Pipeline #11312 passed with stages
in 7 minutes and 24 seconds
......@@ -19,7 +19,7 @@ class MonitorDrupalJsonApiInstitution(Resource):
name: topic_name
required: true
description: The UUID of the updated institution
example: institutionXYZ-235323B
example: 0c4c777c-94f8-45ba-945a-bfe6967d40da
type: string
responses:
200:
......@@ -65,8 +65,6 @@ class MonitorDrupalJsonApiInstitution(Resource):
value_serializer=lambda m: json.dumps(m, ensure_ascii=False)
.encode('utf-8'))
producer.send('drupal-json-api-institutions', topicValue)
except AssertionError as ex:
report += 'Exception' + str(ex) + '\n'
except Exception as ex:
report += 'Exception' + str(ex) + '\n'
......
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