1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 17:54:18 +08:00

Add logging to help understand existing case skips better

This commit is contained in:
Dean Herbert
2021-06-28 10:42:42 +09:00
Unverified
parent 128f08ccba
commit 4a557e73a7
+3
View File
@@ -379,6 +379,8 @@ namespace osu.Game.Database
Undelete(existing);
return existing;
}
LogForModel(item, $"Found existing (optimised) but failed pre-check.");
}
}
@@ -422,6 +424,7 @@ namespace osu.Game.Database
return existing;
}
LogForModel(item, $"Found existing but failed re-use check.");
Delete(existing);
ModelStore.PurgeDeletable(s => s.ID == existing.ID);
}