xiaoxiao921 / ItemLib

library for custom items in RoR2
1 stars 1 forks source link

Better error handling for GetAllCustomItemsAndEquipments #9

Closed Jarlyk closed 4 years ago

Jarlyk commented 4 years ago

Right now if any of the assemblies being loaded cause a ReflectionTypeLoadException (due to static constructor crashing in a type), this generates a very generic stack trace. If we handle this exception specifically, we can log which mod is causing the issue.

Jarlyk commented 4 years ago

Added with commit 57047c8c72f472c0bd2e815a2d5bf71981a65e03