Skip to content
Snippets Groups Projects

[Webservice] Catch errors on failure to launch dark processing

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading