ldc-crm/app/Exceptions/Api/v2/CrmException.php
Jérémy Munsch 6987501a98 CRM API V2
2021-03-27 08:29:31 +01:00

14 lines
243 B
PHP

<?php
namespace App\Exceptions\Api\v2;
use Exception;
use Illuminate\Support\Facades\Log;
class CrmException extends Exception
{
public function report()
{
Log::critical(sprintf('CRM API: %s', $this->getMessage()));
}
}