1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 00:37:18 +08:00

Include archive name in import log output

This commit is contained in:
Dean Herbert 2022-06-27 15:24:25 +09:00
parent 2b278ed324
commit da61d0547f

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())