From 8fbaa94ff5c52737d713ff52b2aeb5927bb6d625 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 12 Jan 2020 03:49:24 +0100 Subject: weird subprocess state --- app/relay/runner.js | 6 ++++++ 1 file changed, 6 insertions(+) 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, -- cgit v1.2.3-70-g09d2