Quartz.NET - getting jobs exception using IJobListener

c#, quartz-scheduler, quartz.net

Solution

The `JobWasExecuted` method is passed a `JobExecutionException` (if one was thrown during the triggering of the job).

Problem

I'm using Quartz.NET for an application I am creating, and I currently have an IJobListener listening for any errors with jobs, then sending emails off to the administrators. It'd be great if I could email the exception generated too, but how do I get the exception from the IJobListener?

Original source