More verbose AbandonedJobError warning (#2101)

This commit is contained in:
Roman Bange 2024-07-18 05:09:25 +02:00 committed by GitHub
parent 458a2ff228
commit d7503e6253
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class StartedJobRegistry(BaseRegistry):
else:
exc_string = f"due to {AbandonedJobError.__name__}"
logger.warning(
f'{self.__class__.__name__} cleanup: Moving job to {FailedJobRegistry.__name__} '
f'{self.__class__.__name__} cleanup: Moving job {job.id} to {FailedJobRegistry.__name__} '
f'({exc_string})'
)
job.set_status(JobStatus.FAILED)