diff --git a/src/server/worker_task.rs b/src/server/worker_task.rs index 44e2aafd..11aeba3f 100644 --- a/src/server/worker_task.rs +++ b/src/server/worker_task.rs @@ -175,7 +175,7 @@ pub fn upid_read_status(upid: &UPID) -> Result { if rest == "OK" { status = String::from(rest); } else if rest.starts_with("ERROR: ") { - status = String::from(rest); + status = String::from(&rest[7..]); } } }