mirror of
https://github.com/osukey/osukey.git
synced 2025-05-11 16:47:19 +09:00
Add logging to help understand existing case skips better
This commit is contained in:
parent
128f08ccba
commit
4a557e73a7
@ -379,6 +379,8 @@ namespace osu.Game.Database
|
|||||||
Undelete(existing);
|
Undelete(existing);
|
||||||
return existing;
|
return existing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LogForModel(item, $"Found existing (optimised) but failed pre-check.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -422,6 +424,7 @@ namespace osu.Game.Database
|
|||||||
return existing;
|
return existing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LogForModel(item, $"Found existing but failed re-use check.");
|
||||||
Delete(existing);
|
Delete(existing);
|
||||||
ModelStore.PurgeDeletable(s => s.ID == existing.ID);
|
ModelStore.PurgeDeletable(s => s.ID == existing.ID);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user