diff --git a/osu.Game/Database/DatabaseContextFactory.cs b/osu.Game/Database/DatabaseContextFactory.cs index b5378b1311..5160239c38 100644 --- a/osu.Game/Database/DatabaseContextFactory.cs +++ b/osu.Game/Database/DatabaseContextFactory.cs @@ -63,6 +63,7 @@ public DatabaseWriteUsage GetForWrite(bool withTransaction = true) } else { + // we want to try-catch the retrieval of the context because it could throw an error (in CreateContext). context = threadContexts.Value; } }