Commit 310c45fc authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Handling REVOKED state

parent 7496ceee
......@@ -57,6 +57,9 @@ export default {
throw new Error(taskInfo.result)
} else if (taskInfo.state === 'SUBMITTED') {
this.$data.__tasks[taskName].state = taskInfo.state
} else if (taskInfo.state === 'REVOKED') {
// REVOKED can occur if new analysis has been submitted while old one is still being executed
} else {
throw new Error(`Analysis Task has unhandled state: ${taskInfo.state}`)
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