MSRevive / MasterSwordRebirth

Continuation of Master Sword Classic/Continued.
https://msrebirth.net/
Other
9 stars 7 forks source link

Excessive try-catch blocks #38

Closed BerntA closed 2 years ago

BerntA commented 2 years ago

Throughout the code you have a lot of this junk:

startdbg
<< insert spaghetti that might crash --- dont worry --- its inside a try-catch with no actual error handling -- thx
enddbg

I think we should get rid of this and properly handle crashes where they might occur, when I run the game thru debug mode the output log is literally spamming unhandled exceptions all over the place -- this might be a performance bottleneck..

ex: image

BerntA commented 2 years ago

Some part of the script sys is using exception handling, I guess we can keep it for now..