From 154be557edd6b52df36d8bd1f3653f969ade0a19 Mon Sep 17 00:00:00 2001 From: Stephen Horvath Date: Fri, 12 Sep 2025 10:52:02 +1000 Subject: [PATCH] Add traceback to troubleshooting information --- yafi/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yafi/main.py b/yafi/main.py index 4b0c152..ccb2500 100644 --- a/yafi/main.py +++ b/yafi/main.py @@ -149,6 +149,8 @@ class YafiApplication(Adw.Application): if hasattr(self, 'error'): if isinstance(self.error, Exception): info += f"{type(self.error).__name__}: {self.error}\n\n" + info += ''.join(traceback.format_exception(type(self.error), self.error, self.error.__traceback__)) + info += "\n\n" else: info += f"Error: {self.error}\n\n"