Permalink
Browse files

Clarify state change that caused an exception

  • Loading branch information...
dstjacques authored and phatboyg committed Sep 16, 2012
1 parent 8990f56 commit 567be1394bf59e07bcca45882fa89361ee72f0cf
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Topshelf/Runtime/Windows/WindowsServiceHost.cs
@@ -148,7 +148,7 @@ protected override void OnPause()
}
catch (Exception ex)
{
- _log.Fatal("The service did not shut down gracefully", ex);
+ _log.Fatal("The service did not pause gracefully", ex);
throw;
}
}
@@ -165,7 +165,7 @@ protected override void OnContinue()
}
catch (Exception ex)
{
- _log.Fatal("The service did not start successfully", ex);
+ _log.Fatal("The service did not resume successfully", ex);
throw;
}
}

0 comments on commit 567be13

Please sign in to comment.