1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Adjust error messages

This commit is contained in:
smoogipoo 2020-09-02 23:47:42 +09:00
parent ae1de1adcb
commit 39c304d008

View File

@ -108,7 +108,7 @@ namespace osu.Game.Collections
} }
catch (Exception e) catch (Exception e)
{ {
Logger.Error(e, "Failed to read collections"); Logger.Error(e, "Failed to read collection database.");
} }
return result; return result;
@ -168,7 +168,7 @@ namespace osu.Game.Collections
// Since this code is not thread-safe, we may run into random exceptions (such as collection enumeration or out of range indexing). // Since this code is not thread-safe, we may run into random exceptions (such as collection enumeration or out of range indexing).
// Failures are thus only alerted if they exceed a threshold (once) to indicate "actual" errors having occurred. // Failures are thus only alerted if they exceed a threshold (once) to indicate "actual" errors having occurred.
if (++saveFailures == 10) if (++saveFailures == 10)
Logger.Error(e, "Failed to save collections"); Logger.Error(e, "Failed to save collection database!");
} }
return false; return false;