Skip to content
Snippets Groups Projects
Commit 0ca48104 authored by Alex's avatar Alex
Browse files

Save status if job failed

parent ee148f24
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5551 passed
......@@ -71,6 +71,7 @@ class WowaJob implements ShouldQueue
$this->wowa->status = Wowa::STATE_FAILED;
$logger->error("Error during retrieving evidences");
$logger->error($e->getMessage());
$this->wowa->save();
}
$logger->debug("End find all related evidences");
......@@ -90,6 +91,7 @@ class WowaJob implements ShouldQueue
$this->wowa->status = Wowa::STATE_FAILED;
$logger->error("Error during wowa training");
$logger->error($e->getMessage());
$this->wowa->save();
}
$this->wowa->status = Wowa::STATE_SUCCESS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment