Merge pull request #384 from jakoch/patch-1

fix error, when trying to call function logAction() on undefin…
This commit is contained in:
Michael Kaufmann
2016-09-11 13:09:03 +02:00
committed by GitHub

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");