Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxiBoether committed Sep 20, 2024
1 parent 4e3564d commit b5d28cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modyn/supervisor/internal/grpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,10 @@ def get_evaluation_results(self, evaluation_id: int) -> list[EvaluationIntervalD
raise e

if not res.valid:
logger.error(f"Cannot get the evaluation result for evaluation {evaluation_id}")
raise RuntimeError(f"Cannot get the evaluation result for evaluation {evaluation_id}")
_msg = f"Cannot get the evaluation result for evaluation {evaluation_id}"
logger.error(_msg)
raise RuntimeError(_msg)

return res.evaluation_results

def cleanup_evaluations(self, evaluation_ids: list[int]) -> None:
Expand Down

0 comments on commit b5d28cd

Please sign in to comment.