For custom code, the args[]
array is structured as follows:
System.Exception
objectWebReports.Api.Common.Logger
object — provides write access to the log fileFor .NET Assemblies the method signature is as follows:
bool EventHandlerName(SessionInfo sessionInfo, Exception exception, Logger logger, string jsonArgs)
The OnExceptionThrown event expects a boolean return value. When true, logging of the exception is stopped.