Commit 7dede9e
Remove redundant stack trace printing for icon errors (#833)
I'm often in the situation where I'm developing a new mod that doesn't have an icon yet. I use Mod Menu to access my config file, and it prints a large stack trace twice. Once when entering, and once when exiting.
Since there is already a complete error line in red, which is acceptable to be shown I think, there is no need for a multi-line stack trace after that.
I've removed it for the square icon error as well, since that feels redundant too. But I can re-add that, let me know.
Thanks for the great mod!
- Removed redundant stacetrace logging for mod icon errors1 parent 02572d8 commit 7dede9e
1 file changed
Lines changed: 2 additions & 3 deletions
File tree
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
| 56 | + | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
0 commit comments