1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:47:51 +08:00

Use APIException

This commit is contained in:
Dean Herbert 2021-07-01 17:54:59 +09:00
parent 74c63e15be
commit a6323b7d87

View File

@ -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;
}