chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.56k stars 139 forks source link

[FEATURE REQUEST] The macro pipeline execution should stop when an error is raised. #755

Open petitpandarouge opened 2 weeks ago

petitpandarouge commented 2 weeks ago

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 :