Make ErrorSnooper report local's values
This commit is contained in:
3 files changed
+57
-8
No files matched your search
@@ -74,8 +74,8 @@ public class ExpressionException extends RuntimeException implements ResolvedExc
|
||||
{
|
||||
if (c.getErrorSnooper() != null)
|
||||
{
|
||||
List<String> alternative = c.getErrorSnooper().apply(e, t, message);
|
||||
if (alternative!= null)
|
||||
List<String> alternative = c.getErrorSnooper().apply(e, t, c, message);
|
||||
if (alternative != null)
|
||||
{
|
||||
return String.join("\n", alternative);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user