Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

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
continue
} 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