Page 1 of 1

Plugin Exception Policy

PostPosted: Thu Jan 23, 2020 2:46 pm
by SBarnes
Will Plugin Exception policy Abort stop a user being able to login to the user interface if the plugin fails to deploy?

Re: Plugin Exception Policy

PostPosted: Thu Jan 23, 2020 6:42 pm
by Mike.Sheen
SBarnes wrote:Will Plugin Exception policy Abort stop a user being able to login to the user interface if the plugin fails to deploy?


Yes.

In fact as of 7.2.1, services we ship with - the REST API, and Plugin Scheduler will also fail to start (with an event log entry made describing the problem).

Re: Plugin Exception Policy

PostPosted: Thu Jan 23, 2020 9:35 pm
by SBarnes
Mike.Sheen wrote:In fact as of 7.2.1, services we ship with - the REST API, and Plugin Scheduler will also fail to start (with an event log entry made describing the problem).


Cool, but what happens if a plugin with Abort throws an unhandled exception during execution i.e. not at startup in a service or the ui client but when running?

Re: Plugin Exception Policy  Topic is solved

PostPosted: Tue Jan 28, 2020 10:37 am
by Mike.Sheen
SBarnes wrote:Cool, but what happens if a plugin with Abort throws an unhandled exception during execution i.e. not at startup in a service or the ui client but when running?


Then it behaves the same no matter the exception policy.

The exception policy only has an impact when attempting to compile and/or load the plugin as part of the Manager.Logon method.