From b1d2758ea242a9b56b4a908d5f24dc9b870b243e Mon Sep 17 00:00:00 2001 From: Veronica Valeros Date: Tue, 13 Feb 2024 18:40:30 +0100 Subject: [PATCH] Add logging of error when main() throws exception --- hermeneisGPT.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hermeneisGPT.py b/hermeneisGPT.py index 0e7e631..fe79785 100644 --- a/hermeneisGPT.py +++ b/hermeneisGPT.py @@ -113,6 +113,7 @@ def main(): except Exception as err: logger.info("Exception in main()") + logger.info(err) if __name__ == "__main__":