SBarnes wrote:Is there a way to detect when Report Error is called on the manager i.e. when Jiwa catches an exception produced by a plugin?
What I am trying to get is the StackTrace during testing with a client.
Jiwa.exe adds a handler for the AppDomain.CurrentDomain.UnhandledException - and that calls the Manager.ReportError (and ReportError doesn't have useful parameters - just a message string and module string - no exception object and thus no stack trace) - so I think what you really want is to have something in the UnhandledException handler to raise an event which you could hook into.
You could always put Try Catch blocks around all your plugin code and log or display it yourself.
Logged
DEV-8810 to open up the unhandled exception handling to plugins.