ldc-crm/app/Exceptions/Api/V2/CrmException.php
2021-07-28 14:18:47 +02: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()));
}
}