Handle illegal errors thrown from plugin
Merge pull request #898 from benjchristensen/safe-subscriber-plugin-error-handling

Handle illegal errors thrown from plugin