weixin_39986973
weixin_39986973
2020-12-09 09:19

Handle activities exceptions

What this PR does

Improve handling of errors for scripts in the Activities panel. See https://trello.com/c/NsfAOEX6/31-handle-activities-for-invalid-job-id

Testing this PR

  1. To simulate invalid callback string (which fails to find process on server) you can restart the server immediately after starting to run a script.
  2. When server has restarted, login to webclient and check Activities panel. Should see error status for script job:

screen shot 2017-12-13 at 11 29 22

  1. Other change in this PR is simply changing the logging level for
    proc.getResults()
    and display appropriate message to user. Not sure how to reproduce this error (seen from nightshade - see trello card).

该提问来源于开源项目:ome/openmicroscopy

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

8条回答