Open Arkhorse opened 2 months ago
How LUM could display it:
### Mods with Exceptions:
- `Class Capture Group` threw exception `Exception Capture Group` `[x3]`
[x3]
is the number of times logged
Mods that support and use Complex Logger will always log which mod threw the exception, providing the mod authors properly use try catches.
Is your feature request related to a problem? Please describe.
LUM currently does not properly detect exceptions, which can lead to LUM saying that there are no issues when there are.
Describe the solution you'd like
Being able to detect and display the exception along with the thrown line would be pretty useful. So I made the regex for you to play with:
(.*Exception).*\s{4}(?:at.)(.*\(.*\))
This will match any exception thrown, even custom ones. It uses two capture groups: The first one grabs the name of the exception (IE:System.NullReferenceException
), with the second one grabbing the class name (including the namespace path and parameters (IE:Thing.NextThing.ClassName(string thing)
) that threw the exception (I know, this wont always be the direct class). This regex will also detect the melon start screen issue's exceptionDescribe alternatives you've considered
Might also need to handle the 'during invoke trampoline' error as well
Additional context
No response