From 941ef2f5316ccd824ebc0290e6e27dc06307a35c Mon Sep 17 00:00:00 2001 From: VGA Date: Sat, 2 Nov 2024 01:03:35 -0300 Subject: [PATCH] fix displaying of error message to properly show the exception details --- python/semantic_kernel/processes/local_runtime/local_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/semantic_kernel/processes/local_runtime/local_process.py b/python/semantic_kernel/processes/local_runtime/local_process.py index b3077c9eb7d1..3a25e05d38d9 100644 --- a/python/semantic_kernel/processes/local_runtime/local_process.py +++ b/python/semantic_kernel/processes/local_runtime/local_process.py @@ -186,7 +186,7 @@ async def internal_execute(self, max_supersteps: int = 100, keep_alive: bool = T await asyncio.gather(*message_tasks) except Exception as ex: - print("An error occurred while running the process: %s.", ex) + print("An error occurred while running the process: %s." % ex) raise async def to_kernel_process(self) -> "KernelProcess":