Skip to content

Commit

Permalink
Removed line that can never be hit
Browse files Browse the repository at this point in the history
  • Loading branch information
tynor88 committed Dec 26, 2015
1 parent 76f8583 commit 3549928
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ private static void RegisterQuartzInSimpleInjector(Assembly[] jobAssemblies = nu

Container container = SimpleInjectorHostBuilderConfigurator.Container;

if (container == null)
throw new Exception("You must call UseSimpleInjector() to use the Topshelf SimpleInjector Quartz integration.");

ISchedulerFactory schedulerFactory = new StdSchedulerFactory();

if (jobAssemblies == null)
Expand Down

0 comments on commit 3549928

Please sign in to comment.