mirror of
https://github.com/ppy/osu
synced 2025-01-06 22:30:12 +00:00
Catch any unobserved exceptions during beatmap metadata harvesting
The process will retry when a connection is successful, so this doesn't need to be as loud as it was. Addresses https://github.com/ppy/osu/discussions/20331.
This commit is contained in:
parent
fcba917419
commit
21ac3fd88b
@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// 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.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.SignalR.Client;
|
using Microsoft.AspNetCore.SignalR.Client;
|
||||||
@ -80,6 +81,10 @@ namespace osu.Game.Online.Metadata
|
|||||||
await ProcessChanges(catchUpChanges.BeatmapSetIDs);
|
await ProcessChanges(catchUpChanges.BeatmapSetIDs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Logger.Log($"Error while processing catch-up of metadata ({e.Message})");
|
||||||
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
catchingUp = false;
|
catchingUp = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user