Commit a6eb6fdc authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Job status is now set to 'finished_with_warnings' if scenes failed.

parent 3ba2aa8b
...@@ -471,7 +471,7 @@ class process_controller(object): ...@@ -471,7 +471,7 @@ class process_controller(object):
self.logger.info('Execution finished.') self.logger.info('Execution finished.')
# TODO implement failed_with_warnings # TODO implement failed_with_warnings
self.config.status = 'finished' if not self.failed_objects else 'finished_with_errors' self.config.status = 'finished' if not self.failed_objects else 'finished_with_warnings'
self.config.end_time = datetime.datetime.now() self.config.end_time = datetime.datetime.now()
self.config.computation_time = self.config.end_time - self.config.start_time self.config.computation_time = self.config.end_time - self.config.start_time
self.logger.info('Time for execution: %s' % self.config.computation_time) self.logger.info('Time for execution: %s' % self.config.computation_time)
......
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