mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:43:19 +08:00
Update error handling
This commit is contained in:
parent
3ca64a1cb2
commit
0679901e4d
@ -66,8 +66,8 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
{
|
||||
failed = true;
|
||||
|
||||
if (e is WebException || string.IsNullOrEmpty(e.Message))
|
||||
Logger.Error(e, "Failed to retrieve a score submission token.\n\nThis may happen if you are running an old or non-official release of osu! (ie. you are self-compiling).");
|
||||
if (string.IsNullOrEmpty(e.Message))
|
||||
Logger.Error(e, "Failed to retrieve a score submission token.");
|
||||
else
|
||||
Logger.Log($"You are not able to submit a score: {e.Message}", level: LogLevel.Important);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user