14 lines
243 B
PHP
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()));
|
|
}
|
|
}
|