Shotgun event plugins inactive after error


We’ve got a few event scripts running via the Shotgun event daemon:

When one of our custom plugin scripts encounters an error, it sends an email notification with the error, which is great, but it then stops processing events in the event daemon. The message output for the script in question in the console is Skipping: inactive

I presume the event daemon marks the plugin as inactive on account of its error. Is there a way to override this behavior? We want the script to continue evaluating events even if it encounters errors, but keep the useful email notification once an exception is encountered.

1 Like

Note that this is a failsafe so that you don’t get spammed with errors in case of a bug with the daemon.
If there is an exception you are expecting, just catch it where appropriate and log it, without the plugin exploding.