global-functions: $CertificateDownload: be more verbose

This commit is contained in:
Christian Hesse 2020-11-13 22:02:00 +01:00
parent d2fab050ba
commit d519b70e65

View file

@ -119,7 +119,8 @@
$CertificateNameByCN [ / certificate get $Cert common-name ]; $CertificateNameByCN [ / certificate get $Cert common-name ];
} }
} on-error={ } on-error={
$LogPrintExit warning ("Failed imprting certificate!") false; $LogPrintExit warning ("Failed imprting certificate with " . \
"CommonName \"" . $CommonName . "\"!") false;
:return false; :return false;
} }
:return true; :return true;