Fix `OsuGameBase.Migrate()` eating exception messages for breakfast

Whomst've thought this was an ok thing to do? How did this pass review?
Let's leave these as rhetorical questions right now. Huge chances are
I'd implicate myself with at least one of them.
This commit is contained in:
Bartłomiej Dach 2024-10-08 23:12:25 +02:00
parent 310eec69fc
commit 1633cbdb66
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -545,7 +545,10 @@ public bool Migrate(string path)
realmBlocker = realm.BlockAllOperations("migration");
success = true;
}
catch { }
catch (Exception ex)
{
Logger.Log($"Attempting to block all operations failed: {ex}", LoggingTarget.Database);
}
readyToRun.Set();
}, false);