aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-05-06 16:04:07 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2020-05-06 16:04:07 +0100
commitba2134de13a94017038a23dee5656e1e0831783a (patch)
treedf7ec517f1967a3bb866074ac93ae5cf96f3748d /Jellyfin.Server/Program.cs
parenta0a5512069a56c64d4cf2556f4c04633bda2d120 (diff)
Made changes to message and exception class
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 069a10b1a..f6d8dbbdf 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -290,9 +290,9 @@ namespace Jellyfin.Server
listenOptions.Protocols = HttpProtocols.Http1AndHttp2;
});
}
- catch (Exception ex)
+ catch (InvalidOperationException ex)
{
- _logger.LogError(ex, "Error whilst listing to https - Is a development certificate installed?");
+ _logger.LogError(ex, "Failed to listen to HTTPS using the ASP.NET Core HTTPS development certificate. Please ensure it has been installed and set as trusted.");
}
}
}
@@ -320,9 +320,9 @@ namespace Jellyfin.Server
listenOptions.Protocols = HttpProtocols.Http1AndHttp2;
});
}
- catch (Exception ex)
+ catch (InvalidOperationException ex)
{
- _logger.LogError(ex, "Error whilst listing to https - Is a development certificate installed?");
+ _logger.LogError(ex, "Failed to listen to HTTPS using the ASP.NET Core HTTPS development certificate. Please ensure it has been installed and set as trusted.");
}
}
}