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: