diff --git a/lib/Service/ModelStore.php b/lib/Service/ModelStore.php index 389a17c7..58ad52c4 100644 --- a/lib/Service/ModelStore.php +++ b/lib/Service/ModelStore.php @@ -162,6 +162,7 @@ public function persist(Learner $estimator, Model $model) { 'exception' => $e, ]); $this->modelMapper->delete($model); + throw $e; } } }