WindmillWWindmill
Powered by
ELLIOTTCABLEE
Windmill•15mo ago
ELLIOTTCABLE

What're the best practices on error-handling in trigger scripts?

In particular, is there a blessed way to handle errors in subsequent scripts, and safely rollback the entire flow?

An example: A trigger-script sees a new entry in a Notion database. If a subsequent script fails with a transient error, I'd like to rollback the "last seen", so the trigger eventually gets re-run.
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Best practices and guidelines
SanksSSanks / help
8mo ago
How to trigger the 'On Error' event in a button?
hvglcsHhvglcs / help
3y ago
Bun shell script best practices?
ZachZZach / help
11mo ago
What's the cold start of python scripts in EE
wayneWwayne / help
2y ago