src/server/worker_task.rs_ do not write ERROR: prefix into task index
This commit is contained in:
parent
418def7a78
commit
1be71fb02b
|
@ -175,7 +175,7 @@ pub fn upid_read_status(upid: &UPID) -> Result<String, Error> {
|
||||||
if rest == "OK" {
|
if rest == "OK" {
|
||||||
status = String::from(rest);
|
status = String::from(rest);
|
||||||
} else if rest.starts_with("ERROR: ") {
|
} else if rest.starts_with("ERROR: ") {
|
||||||
status = String::from(rest);
|
status = String::from(&rest[7..]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue