You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When an error is in a script, I would like it to stop the pipeline execution.
It is specially disturbing when dealing with variable.
If the next step takes a variable filled by the previous script, because of the exception, the variable is not filled, and the next step display a popup asking for the variable.
Describe the solution you'd like
If an error is raised, I would like to have to possibility to say to the pipeline to stop.
I think about like a "stop" property on the "params" variable.
If true, pipeline stops, if false, pipeline continue and popup displays.
Additional context
Step to reproduce :
create a "test" macro
copy this code into a "script.js" file accessible by QuickAdd
module.exports = async (params) => {
params.variables['test'] = "this is a test";
};
in the macro, add the script and a capture choice
define the "test" variable as file name of the capture
Everything works fine.
raise an error in the script
module.exports = async (params) => {
throw new Error("my error");
params.variables['test'] = "this is a test";
};
when executing the macro, the error is raised and the file name is asked.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When an error is in a script, I would like it to stop the pipeline execution.
It is specially disturbing when dealing with variable.
If the next step takes a variable filled by the previous script, because of the exception, the variable is not filled, and the next step display a popup asking for the variable.
Describe the solution you'd like
If an error is raised, I would like to have to possibility to say to the pipeline to stop.
I think about like a "stop" property on the "params" variable.
If true, pipeline stops, if false, pipeline continue and popup displays.
Additional context
Step to reproduce :
Everything works fine.
The text was updated successfully, but these errors were encountered: