From 24a34c35a10d8c23c043a129b96c6a15f2e12d57 Mon Sep 17 00:00:00 2001 From: Jack Baron Date: Fri, 22 Jul 2022 17:50:54 +0100 Subject: [PATCH] ignore file not found errors --- Server/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Server/Program.cs b/Server/Program.cs index a3d3b5f..b5be430 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -49,6 +49,10 @@ async Task LoadShines() if (loadedShines is not null) shineBag = loadedShines; } + catch (FileNotFoundException) + { + // Ignore + } catch (Exception ex) { consoleLogger.Error(ex);