aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-30 16:40:04 +0100
committerKim Alvefur <zash@zash.se>2019-11-30 16:40:04 +0100
commit46142132167a7d73193739ba7a832bec610223b0 (patch)
tree9811b1fbf8ac63ed07de40fc02d26e3301e2434c
parentb1aadaced9b8012b55c8b9ee158bfaf6f24ea147 (diff)
downloadprosody-46142132167a7d73193739ba7a832bec610223b0.tar.gz
prosody-46142132167a7d73193739ba7a832bec610223b0.zip
core.portmanager: Complete error message for SNI TLS context problems
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index fced3f8f..99656e3e 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -241,7 +241,7 @@ local function add_sni_host(host, service)
if ssl then
active_service.server.hosts[host] = ssl;
else
- log("error", "err = %q", err);
+ log("error", "Error creating TLS context for SNI host %s: %s", host, err);
end
end
end