mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
CA2200: don't explictly throw caught exception.
This commit is contained in:
@ -10,6 +10,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Extensions.ExceptionExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Game.Configuration;
|
||||
@ -249,7 +250,7 @@ namespace osu.Game.Online.API
|
||||
catch
|
||||
{
|
||||
// if we couldn't deserialize the error message let's throw the original exception outwards.
|
||||
throw e;
|
||||
e.Rethrow();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user