mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Merge pull request #20337 from peppy/catch-unobserved-network-exceptions
Catch any unobserved exceptions during beatmap metadata harvesting
This commit is contained in:
commit
cbf55732da
@ -1,6 +1,7 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
@ -80,6 +81,10 @@ namespace osu.Game.Online.Metadata
|
||||
await ProcessChanges(catchUpChanges.BeatmapSetIDs);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Log($"Error while processing catch-up of metadata ({e.Message})");
|
||||
}
|
||||
finally
|
||||
{
|
||||
catchingUp = false;
|
||||
|
Loading…
Reference in New Issue
Block a user