bugfix for error, when trying to call function logAction() on undefined var $cronlog

This commit is contained in:
Jens A. Koch 2016-09-11 12:00:26 +02:00 committed by GitHub
parent a21d19bdcd
commit c51840e760

View File

@ -198,7 +198,7 @@ class lescript
$errmsg = "";
}
@unlink($tokenPath);
$cronlog->logAction(CRON_ACTION, LOG_ERR,"letsencrypt Please check $uri - token not available" . $errmsg);
$this->logger->logAction(CRON_ACTION, LOG_ERR, "letsencrypt Please check $uri - token not available" . $errmsg);
}
$this->log("Sending request to challenge");