diff --git a/src/ommstats/Program.cs b/src/ommstats/Program.cs index 77875be..d97b713 100644 --- a/src/ommstats/Program.cs +++ b/src/ommstats/Program.cs @@ -71,6 +71,10 @@ static async Task Main(string[] args) catch (OperationCanceledException) { } + catch (SocketException ex) + { + logger.LogError(ex, "Error while executing OmmStats"); + } catch (Exception ex) { logger.LogError(ex, "Error while executing OmmStats");