Better error logging in invoice generator

This commit is contained in:
Pinga 2025-07-05 12:26:45 +03:00
parent fd19c9d0e3
commit 14c3fc2e6a

View file

@ -158,7 +158,7 @@ try {
$response = curl_exec($curl);
if ($response === false) {
throw new Exception(curl_error($curl), curl_errno($curl));
$log->error('Email error: ' . curl_error($curl) . curl_errno($curl));
}
curl_close($curl);