Skip to content

[Webservice] Catch errors on failure to launch dark processing

Thomas Kluyver requested to merge fix/websvc-dark-launch-err into master

Description

More specifically, errors from after we reply to the ZMQ message to say that processing has been queued. Errors at this stage, including missing detectors in the configuration (https://redmine.xfel.eu/issues/163215) were uncaught, leaving dark runs in myMdC showing as 'In progress' when they had failed.

Closese #90

How Has This Been Tested?

It hasn't, but all I have changed is to wrap the code that was already there in a try/except block and report the error.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.

Reviewers

@ahmedk @schmidtp

Edited by Thomas Kluyver

Merge request reports