Skip to content

Commit c58f288

Browse files
committed
Even clearer error popup message
1 parent 3021ec9 commit c58f288

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
te = TracebackException(type(error), error, stack, limit=None, compact=True)
1818
stack_str = "".join(te.stack.format())
1919

20-
sg.popup_error(
21-
error.args[0] + "_" * 60 + "\n",
22-
"If you can't figure out how to fix the above error, you should make a screenshot of this entire window (using Windows key + Shift + S), and either make a GitHub issue for this by clicking the GitHub icon in this program, or you can send this to MyNameIsTrez#1585 on Discord.\n"
23-
+ "_" * 60
24-
+ "\n",
20+
sg.popup_no_buttons(
21+
"Most errors are very easy to fix, so please take a minute to look closely at the below error.\nIf you still aren't able to figure it out on your own, make a screenshot of this entire window by pressing Windows key + Shift + S at the same time, and pressing Ctrl + V to paste this in the #project-mod-converter channel of the CCCP Discord server.\n"
22+
+ "_" * 60,
23+
error.args[0] + "_" * 60,
24+
"Extra information for MyNameIsTrez:",
2525
stack_str,
2626
title="Error",
2727
)

0 commit comments

Comments
 (0)