mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user