From 6b3eee848123e90f088c44749bfa7dce991dcc41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 22 Aug 2021 20:08:01 +0200 Subject: [PATCH] Don't just swallow the web exception. --- OpenRA.Mods.Common/Widgets/Logic/ServerListLogic.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/ServerListLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/ServerListLogic.cs index 28964315c5..a669bd64ee 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/ServerListLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/ServerListLogic.cs @@ -367,9 +367,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic } } } - catch + catch (Exception e) { searchStatus = SearchStatus.Failed; + Log.Write("debug", $"Failed to query server list with exception: {e}"); } var lanGames = new List();