If there is a way to differentiate between exceptions cause by jsflow and legit exceptions from the script it should be done. function f(h) { return new Array(h).join(""); } RangeError: Invalid array length at ArrayConstructor.Construct (https://www.jsflow.net/js/src/Constructors/ArrayConstructor.ts:65:40) at https://www.jsflow.net/js/src/Value.ts:96:55 at InContext (https://www.jsflow.net/js/src/Value.ts:137:13) at Value.Construct (https://www.jsflow.net/js/src/Value.ts:96:12) at newExpressionExecute (https://www.jsflow.net/js/src/Engine/Expression.ts:608:32) at https://www.jsflow.net/js/src/Engine/Expression.ts:543:45 at step (https://www.jsflow.net/js/src/Engine/Execute.ts:250:13) at execute (https://www.jsflow.net/js/src/Engine/Execute.ts:49:16) at Object.executeGlobalCode (https://www.jsflow.net/js/src/Engine/Execute.ts:107:18) at JSFlowMonitor.MonitorBase.Execute (https://www.jsflow.net/js/src/MonitorBase.ts:160:18)
If there is a way to differentiate between exceptions cause by jsflow and legit exceptions from the script it should be done.
function f(h) {
return new Array(h).join("");
}
RangeError: Invalid array length
at ArrayConstructor.Construct (https://www.jsflow.net/js/src/Constructors/ArrayConstructor.ts:65:40)
at https://www.jsflow.net/js/src/Value.ts:96:55
at InContext (https://www.jsflow.net/js/src/Value.ts:137:13)
at Value.Construct (https://www.jsflow.net/js/src/Value.ts:96:12)
at newExpressionExecute (https://www.jsflow.net/js/src/Engine/Expression.ts:608:32)
at https://www.jsflow.net/js/src/Engine/Expression.ts:543:45
at step (https://www.jsflow.net/js/src/Engine/Execute.ts:250:13)
at execute (https://www.jsflow.net/js/src/Engine/Execute.ts:49:16)
at Object.executeGlobalCode (https://www.jsflow.net/js/src/Engine/Execute.ts:107:18)
at JSFlowMonitor.MonitorBase.Execute (https://www.jsflow.net/js/src/MonitorBase.ts:160:18)