From 5c3b57bec48326fc0514eea8062908f2dc1b6566 Mon Sep 17 00:00:00 2001 From: Jonathan Karlsen Date: Thu, 4 Jan 2024 15:26:07 +0100 Subject: [PATCH] Remove duplicate logging in scheduler job --- src/ert/scheduler/job.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ert/scheduler/job.py b/src/ert/scheduler/job.py index e69c82aa3bc..70b46afff17 100644 --- a/src/ert/scheduler/job.py +++ b/src/ert/scheduler/job.py @@ -155,9 +155,6 @@ async def __call__( elif attempt < max_submit - 1: message = f"Realization: {self.iens} failed, resubmitting" logger.warning(message) - else: - message = f"Realization {self.iens} failed after {max_submit} attempt(s)" - logger.error(message) async def _max_runtime_task(self) -> None: assert self.real.max_runtime is not None