1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:52:54 +08:00

Fix clashing error messaging during realm block operations

This commit is contained in:
Dean Herbert 2022-07-02 16:30:04 +09:00
parent 4fd47b5fa0
commit 93809a92d4

View File

@ -860,7 +860,7 @@ namespace osu.Game.Database
timeout -= sleep_length; timeout -= sleep_length;
if (timeout < 0) if (timeout < 0)
throw new TimeoutException(@"Took too long to acquire lock"); throw new TimeoutException($@"Realm compact failed after {timeout / sleep_length} attempts over {timeout / 1000} seconds");
} }
} }
catch (RealmException e) catch (RealmException e)