Core/Database: Get rid of exception and just print the file the errored.
This commit is contained in:
@@ -256,7 +256,7 @@ namespace Framework.Database
|
|||||||
|
|
||||||
// Update database
|
// Update database
|
||||||
if (!_database.ApplyFile(path))
|
if (!_database.ApplyFile(path))
|
||||||
throw new Exception("Update Failed");
|
Log.outError(LogFilter.Sql, $"Update: {path} Failed.");
|
||||||
|
|
||||||
// Return time the query took to apply
|
// Return time the query took to apply
|
||||||
return Time.GetMSTimeDiffToNow(oldMSTime);
|
return Time.GetMSTimeDiffToNow(oldMSTime);
|
||||||
|
|||||||
Reference in New Issue
Block a user