mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Replace insufficiently specific exception type
Resolves compilation failures for the newly-added Android build-only CI job caused by inspection CA2201 ("Exception type System.Exception is not sufficiently specific").
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using JetBrains.Annotations;
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
@ -105,7 +106,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
}
|
||||
else
|
||||
{
|
||||
getUser.TriggerFailure(new Exception());
|
||||
getUser.TriggerFailure(new WebException());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user