0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-25 04:35:18 +00:00

ignore file not found errors

This commit is contained in:
Jack Baron 2022-07-22 17:50:54 +01:00 committed by Sanae
parent 783b876e09
commit 24a34c35a1

View file

@ -49,6 +49,10 @@ async Task LoadShines()
if (loadedShines is not null) shineBag = loadedShines; if (loadedShines is not null) shineBag = loadedShines;
} }
catch (FileNotFoundException)
{
// Ignore
}
catch (Exception ex) catch (Exception ex)
{ {
consoleLogger.Error(ex); consoleLogger.Error(ex);