Commit 6b277b3
authored
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 3c835c0 commit 6b277b3
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 | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
0 commit comments