mirror of https://github.com/Icinga/icinga2.git
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:
parent
6d45efab66
commit
ad31e0d118
|
@ -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 + "'.");
|
||||
|
|
Loading…
Reference in New Issue