Unverified Commit 8aaae55f authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

don't commit if fatal error occurs

parent 289ac3ce
Pipeline #19207 passed with stages
in 2 minutes and 4 seconds
......@@ -97,6 +97,7 @@ class RecordProcessor:
record['audio_snippet']['msg'] if 'audio_snippet' in record else 'not available'
if RecordProcessor._parsing_errors(record):
ok_all = False
self.reporter.send_message(key, 'FATAL',
'DIGITAL OBJECT: {} -- THUMBNAIL: {} '
'-- AUDIO SNIPPET: {}'
......
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