Normalizing all catch (Exception ex) lines and adding exception fatality check where applicable, fixes #3949

This commit is contained in:
Lombiq
2015-09-07 00:17:57 +02:00
parent 14482162fd
commit a685517118
33 changed files with 217 additions and 66 deletions

View File

@@ -89,9 +89,9 @@ namespace Orchard.WarmupStarter {
var result = _initialization(application);
_initializationResult = result;
}
catch (Exception e) {
catch (Exception ex) {
lock (_synLock) {
_error = e;
_error = ex;
_previousError = null;
}
}