Merge pull request #18862 from peppy/empty-beatmap-file-fix-2

Fix second case of empty beatmaps being reported to sentry as errors
This commit is contained in:
Dan Balasescu
2022-06-27 20:37:57 +09:00
committed by GitHub
3 changed files with 23 additions and 8 deletions

View File

@ -296,7 +296,8 @@ namespace osu.Game.Database
try
{
LogForModel(item, @"Beginning import...");
// Log output here will be missing a valid hash in non-batch imports.
LogForModel(item, $@"Beginning import from {archive?.Name ?? "unknown"}...");
// TODO: do we want to make the transaction this local? not 100% sure, will need further investigation.
using (var transaction = realm.BeginWrite())