From d5803dc482882d4e371888e416f796cb0323b9a0 Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Thu, 25 Jan 2024 19:17:11 +1300 Subject: [PATCH] Update cylc/flow/scheduler.py Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> --- cylc/flow/scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cylc/flow/scheduler.py b/cylc/flow/scheduler.py index 596ed4f42a2..49a2f5393b1 100644 --- a/cylc/flow/scheduler.py +++ b/cylc/flow/scheduler.py @@ -918,9 +918,9 @@ def process_queued_task_messages(self) -> None: # Remaining messages don't have a receiving task in the pool. # E.g., after manually setting a running task to finished. for _id, tms in messages.items(): - warn = "Undeliverable task messages received and ignored:\n" + warn = "Undeliverable task messages received and ignored:" for _, msg in tms: - warn += f'{msg.job_id}: {msg.severity} - "{msg.message}"' + warn += f'\n {msg.job_id}: {msg.severity} - "{msg.message}"' LOG.warning(warn) def get_command_method(self, command_name: str) -> Callable: