Carpet

Carpet

2M Downloads

Make clearer that unexpected exceptions (Java) in Scarpet are not the user's fault

altrisi opened this issue ยท 1 comments

commented

Currently, the stacktrace returned by an internal exception in the Java methods powering scarpet code just says:
Error while evaluating expression: <Java Exception Class> <Java Exception Message>.

This can be confusing as it can make you think it's an error with your code, and make you loose time trying to debug something that should be reported here as a bug instead, frustrating programmers and preventing issues from being reported.

We should probably change the error message so it mentions that the issue is in Scarpet (or an extension providing Scarpet capabilities), not in the user's code.

commented

Improved by 1eb25ba, forgot to link