aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-11 20:24:15 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-11 20:24:15 +0100
commitb663c96ff9063e1ecd59865c8aa8042218eb4d7f (patch)
tree5cd4fc2716bd3377d86b1283474bf69f5197c4e6 /core/certmanager.lua
parent2649a8ec46d7b9e719fee3683011bbccfcd1923c (diff)
downloadprosody-b663c96ff9063e1ecd59865c8aa8042218eb4d7f.tar.gz
prosody-b663c96ff9063e1ecd59865c8aa8042218eb4d7f.zip
certmanager: Adjust error messages to be non-specific about 'host' (so we can specify a service name instead ffor SSL)
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index cccf3098..84fdddf4 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -75,9 +75,9 @@ function create_context(host, mode, user_ssl_config)
else
reason = "Reason: "..tostring(reason):lower();
end
- log("error", "SSL/TLS: Failed to load %s: %s (host: %s)", file, reason, host);
+ log("error", "SSL/TLS: Failed to load %s: %s (for %s)", file, reason, host);
else
- log("error", "SSL/TLS: Error initialising for host %s: %s (host: %s)", host, err, host);
+ log("error", "SSL/TLS: Error initialising for %s: %s", host, err);
end
end
return ctx, err;