From 18682f71b5092dd5c46b68eadb6fcb9faa1f907c Mon Sep 17 00:00:00 2001 From: rutra_arch Date: Sun, 18 Feb 2024 19:01:39 +0100 Subject: [PATCH] changed for debugging purposes - tkinter box --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 1602cf8..a25c05a 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,6 @@ import cProfile import logging +import tkinter from datetime import datetime from classes import game, sounds from gui import gui_main as gui @@ -51,5 +52,6 @@ def new_game(save, preset): except Exception as e: print(e) logging.error(e, exc_info=True) + tkinter.messagebox.showerror("Error", "An error occurred. Please check the logs for more information.") raise