noggit3 icon indicating copy to clipboard operation
noggit3 copied to clipboard

Script Brushes: Errors sometimes reported as just "C++ exception"

Open ihm-tswow opened this issue 4 years ago • 0 comments
trafficstars

Transferred from https://github.com/tswow/noggit3/issues/31

Errors, especially when thrown from scripts global scope, are sometimes just printed as "C++ exception" in the log. This is not very helpful for scripters, as they don't even know what line their error ocurred on. Usually, this seems to relate to invalid arguments being passed to functions. Some errors do report correctly with error message and line numbers.

ihm-tswow avatar Aug 09 '21 12:08 ihm-tswow