mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Use APIException
This commit is contained in:
parent
74c63e15be
commit
a6323b7d87
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user