Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Host displays exception to console, so that the error is visible even…

… when logging is not configured.
  • Loading branch information...
commit 159ec5621c3f0ad8bc8a4a2e53e375bc9379de79 1 parent 8fb4e89
@jberezanski jberezanski authored Jakub Berezanski committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  Rhino.ServiceBus.Host/Program.cs
View
3  Rhino.ServiceBus.Host/Program.cs
@@ -49,7 +49,8 @@ public static int Main(string[] args)
}
catch (Exception e)
{
- log.Fatal("Host has crashed because of an error",e);
+ Console.WriteLine(e);
+ log.Fatal("Host has crashed because of an error", e);
// want to put the error in the error log
if(action == Action.Server)
throw;
Please sign in to comment.
Something went wrong with that request. Please try again.