Don't lose exception callstack if error during startup

--HG--
branch : 1.x
extra : transplant_source : %B6%B7%FDp%C1%16G%D4%16%9E%F7%85%99%E50%B9%F8%0C%CC%D1
This commit is contained in:
Renaud Paquay
2011-04-30 19:47:29 -07:00
parent d9f313e0ef
commit 63e2c3475f

View File

@@ -17,7 +17,7 @@ namespace Orchard.WarmupStarter {
// so we need to simulate a "restart".
var error = _error;
LaunchStartupThread(registrations);
throw error;
throw new ApplicationException("Error during Orchard startup", error);
}
// Only notify if the host has started up