1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Updated errors

This commit is contained in:
Eldad Fux 2020-02-24 14:55:24 +02:00
parent d7df7b765f
commit 832414ca49

View file

@ -95,7 +95,7 @@ class CertificatesV1
}
if(!rename('/etc/letsencrypt/live/'.$domain->get(), APP_STORAGE_CERTIFICATES.'/'.$domain->get())) {
throw new Exception('Failed to copy certificate: '.$staging.json_encode($response));
throw new Exception('Failed to copy certificate: '.json_encode($response));
}
$certificate = array_merge($certificate, [
@ -107,7 +107,7 @@ class CertificatesV1
'domain' => $domain->get(),
'issueDate' => time(),
'attempts' => 0,
'log' => $staging.json_encode($response),
'log' => json_encode($response),
]);
$certificate = $consoleDB->createDocument($certificate);