Log which ticket was invalid on the master

This helps debugging a lot, especially to reproduce the issue
why the ticket is invalid.
This commit is contained in:
Michael Friedrich 2018-02-28 10:18:29 +01:00
parent 6d45efab66
commit ad31e0d118
1 changed files with 1 additions and 1 deletions

View File

@ -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 + "'.");