diff --git a/automation/send-invoice.php b/automation/send-invoice.php index 708b1a2..a0d3f10 100644 --- a/automation/send-invoice.php +++ b/automation/send-invoice.php @@ -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);