Skip to content

Commit b048cd4

Browse files
committed
Add to the try-except of _compute_performance_metrics the creation of the performance manager
1 parent 7e99f8a commit b048cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autosubmit/platforms/platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,8 @@ def _compute_performance_metrics(self, job: 'Job', as_conf: 'AutosubmitConfig'):
10721072
:type as_conf: AutosubmitConfig
10731073
"""
10741074

1075-
manager_performance = self._performance_factory.create_performance(job, as_conf)
10761075
try:
1076+
manager_performance = self._performance_factory.create_performance(job, as_conf)
10771077
manager_performance.compute_and_check_performance_metrics(job)
10781078
except Exception as e:
10791079
Log.error(f"Failed to compute performance metrics for job '{job.name}': {e}")

0 commit comments

Comments
 (0)