+ % (job['code'], repr(e)), logger.LOG_LEVEL_FATAL)
+ continue
+
+ # * NOTIFY WEB SERVER ABOUT CONTENT INGESTION COMPLETION
+ # TODO in the future web server should also be notified about errors
+ try:
+ self.notify_completion()
+ except Exception as e:
+ logger.log_msg(
+ '#%s: error while notifying web server about the job completion: %s' \
+ % (job['code'], repr(e)), logger.LOG_LEVEL_FATAL)