diff core/certmanager.lua @ 4411:cf4e49b250c7

Merge with Zash
author Matthew Wild <mwild1@gmail.com>
date Wed, 02 Nov 2011 07:17:26 +0000
parents 21881619a394
children 43469a2d124d
line wrap: on
line diff
--- a/core/certmanager.lua	Sun Oct 23 20:56:33 2011 +0200
+++ b/core/certmanager.lua	Wed Nov 02 07:17:26 2011 +0000
@@ -75,9 +75,9 @@
 			else
 				reason = "Reason: "..tostring(reason):lower();
 			end
-			log("error", "SSL/TLS: Failed to load %s: %s", file, reason);
+			log("error", "SSL/TLS: Failed to load %s: %s (host: %s)", file, reason, host);
 		else
-			log("error", "SSL/TLS: Error initialising for host %s: %s", host, err );
+			log("error", "SSL/TLS: Error initialising for host %s: %s (host: %s)", host, err, host);
 		end
 	end
 	return ctx, err;