Allow scripts/automations to continue after a failed action

I’ve been trying to use this in one of my scripts, but it’s not actually continuing on error. I often have an issue with my ZHA lights failing to enqueue:

Error: Failed to enqueue message after 3 attempts: <EmberStatus.NETWORK_BUSY: 161>

And when this error occurs the script still stops, even after adding continue_on_error: true to every single part of my script.