Skip to content

Commit

Permalink
changed for debugging purposes - tkinter box
Browse files Browse the repository at this point in the history
  • Loading branch information
rutra8002 committed Feb 18, 2024
1 parent 551f9bd commit 18682f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit 18682f7

Please sign in to comment.