
Announcements
We are getting errors falsely reported in the monitor tool. It looks like in certain circumstances, the presence of the Error function within the With function is causing our custom error messages to be reported in the Monitor tool even if the path to Error() is unreachable.
This was found to happen in versions 3.24032.18, 3.24031.25, 3.24024.18. I was unable to test in any earlier versions.
// as expected, no error will appear in the monitor tool
// because Error() is only called in the path that cannot be reached
If(false, Error("something went wrong"));
// same as bove - no error will appear in the monitor tool
With(
{
val: "zero"
},
If(false, Error("divide by " & val))
);
// but here an error DOES appear in the monitor tool
// even though it should be impossible
With(
{
val: "zero"
},
If(false, Error("something went wrong... huh??"))
);