Fixed broken error handling for long-running tasks
This commit is contained in:
parent
e3a27b024a
commit
a11d2145d9
5 changed files with 45 additions and 4 deletions
|
|
@ -43,6 +43,8 @@ class TaskListAPI(MicroscopeView):
|
|||
:>header Content-Type: application/json
|
||||
"""
|
||||
|
||||
print(self.microscope.task.state)
|
||||
|
||||
data = self.microscope.task.state
|
||||
|
||||
return jsonify(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue