From ad31e0d118f048259aed71a7dd8b8a1fd707d51b Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 28 Feb 2018 10:18:29 +0100 Subject: [PATCH] Log which ticket was invalid on the master This helps debugging a lot, especially to reproduce the issue why the ticket is invalid. --- lib/remote/jsonrpcconnection-pki.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/jsonrpcconnection-pki.cpp b/lib/remote/jsonrpcconnection-pki.cpp index 80740ac31..ce9994023 100644 --- a/lib/remote/jsonrpcconnection-pki.cpp +++ b/lib/remote/jsonrpcconnection-pki.cpp @@ -162,7 +162,7 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona if (ticket != realTicket) { Log(LogWarning, "JsonRpcConnection") - << "Ticket for CN '" << cn << "' is invalid."; + << "Ticket '" << ticket << "' for CN '" << cn << "' is invalid."; result->Set("status_code", 1); result->Set("error", "Invalid ticket for CN '" + cn + "'.");