mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09: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