summaryrefslogtreecommitdiff
path: root/app/relay
diff options
context:
space:
mode:
Diffstat (limited to 'app/relay')
-rw-r--r--app/relay/runner.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/relay/runner.js b/app/relay/runner.js
index c72b8cc..e5d2331 100644
--- a/app/relay/runner.js
+++ b/app/relay/runner.js
@@ -44,6 +44,12 @@ function serialize_task(t){
status: 'IDLE',
}
}
+ if (!t.subprocess) {
+ // TODO: figure out why there's no subprocess here
+ return {
+ status: 'IDLE',
+ }
+ }
return {
status: 'RUNNING',
task: t.task,