From 991714131047462f23fb12f7f772ab6741abf1e2 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 28 Oct 2024 19:34:47 +0900 Subject: [PATCH] Log errors --- GlobalRankLookupCache/Controllers/BeatmapItem.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GlobalRankLookupCache/Controllers/BeatmapItem.cs b/GlobalRankLookupCache/Controllers/BeatmapItem.cs index 7259e59..369ff4f 100644 --- a/GlobalRankLookupCache/Controllers/BeatmapItem.cs +++ b/GlobalRankLookupCache/Controllers/BeatmapItem.cs @@ -139,9 +139,10 @@ private async Task repopulateScores() requestsSinceLastPopulation = 0; Interlocked.Increment(ref RankLookupController.Populations); } - catch + catch (Exception e) { - Console.Write("E!"); + Console.WriteLine(); + Console.WriteLine(e.ToString()); // will retry next lookup }