mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 03:19:52 +08:00
Use APIException
This commit is contained in:
@@ -118,7 +118,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
if (validToken)
|
||||
tokenRequest.TriggerSuccess(new APIScoreToken { ID = 1234 });
|
||||
else
|
||||
tokenRequest.TriggerFailure(new Exception());
|
||||
tokenRequest.TriggerFailure(new APIException("something went wrong!", null));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user