NodeJS: Point exact step on error

Consider the following error:

{
    "status": "500",
    "message": "Invalid time value",
    "stack": "RangeError: Invalid time value\n    at Date.toISOString (<anonymous>)\n    at dateAdd (/opt/node_app/lib/formatters/date.js:26:21)\n    at /opt/node_app/lib/core/parser.js:670:26\n    at parser (/opt/node_app/lib/core/parser.js:359:19)\n    at parseValue (/opt/node_app/lib/core/parser.js:732:24)\n    at parseValue (/opt/node_app/lib/core/parser.js:723:26)\n    at parseValue (/opt/node_app/lib/core/parser.js:723:26)\n    at parseValue (/opt/node_app/lib/core/parser.js:723:26)\n    at Object.parseValue (/opt/node_app/lib/core/parser.js:723:26)\n    at App.parseSQL (/opt/node_app/lib/core/app.js:590:23)"
}

This error doesn’t point at which Wappler Step the error occured, or even the file.

This feature request is to add a new variable that points to the name of the step in question, as well as the file.

Community Page
Last updated: