diff --git a/src/api/src/backend/services/TaskService.py b/src/api/src/backend/services/TaskService.py index 39f151d5..7b4679af 100644 --- a/src/api/src/backend/services/TaskService.py +++ b/src/api/src/backend/services/TaskService.py @@ -145,17 +145,14 @@ def create(self, pipeline, request): except (IntegrityError, OperationalError, DatabaseError) as e: self.rollback() raise e - except BadRequestError as e: self.rollback() raise e - except ModelValidationError as e: self.rollback() raise e - except Exception as e: - print("Generic Exception", request.id, flush=True) + print(f"Generic Exception: {e}", request.id, flush=True) raise e return task