mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 00:22:58 +08:00
Return shorter class name in error messages
This commit is contained in:
parent
9bdc8b47bb
commit
fae32b3901
@ -331,7 +331,7 @@ namespace osu.Game.Database
|
||||
if (CanUndelete(existing, item))
|
||||
{
|
||||
Undelete(existing);
|
||||
Logger.Log($"Found existing {typeof(TModel)} for {item} (ID {existing.ID}). Skipping import.", LoggingTarget.Database);
|
||||
Logger.Log($"Found existing {nameof(TModel)} for {item} (ID {existing.ID}). Skipping import.", LoggingTarget.Database);
|
||||
handleEvent(() => ItemAdded?.Invoke(existing, true));
|
||||
return existing;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user