From 276a0a696eb609650b17e70f81d96beea473f885 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 21 Oct 2014 13:44:08 +0200 Subject: [PATCH] Change to schema upgrade behavior --- Logic/Support/DatabaseMaintenance.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Logic/Support/DatabaseMaintenance.cs b/Logic/Support/DatabaseMaintenance.cs index eed09204..ea668e6c 100644 --- a/Logic/Support/DatabaseMaintenance.cs +++ b/Logic/Support/DatabaseMaintenance.cs @@ -83,7 +83,8 @@ namespace Swarmops.Logic.Support SwarmDb.GetDatabaseForWriting() .CreateExceptionLogEntry(DateTime.UtcNow, "DatabaseUpgrade", exception); - throw; + // Continue processing after logging error. + // TODO: Throw and abort? Tricky decision } }