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
commitd1420d641f150a5dab0fae46288b9e1ed0b9e05e (patch)
tree9811b1fbf8ac63ed07de40fc02d26e3301e2434c
parent4a4e62688b9186a75e50da4673ae38c432a29be1 (diff)
downloadprosody-d1420d641f150a5dab0fae46288b9e1ed0b9e05e.tar.gz
prosody-d1420d641f150a5dab0fae46288b9e1ed0b9e05e.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