From 1b86db73f1df0dcfe0050bef16df4f921090a20a Mon Sep 17 00:00:00 2001 From: developer Date: Thu, 16 Apr 2026 10:04:53 +0800 Subject: [PATCH] =?UTF-8?q?fix!=20=D0=BD=D0=B5=D0=BA=D0=BE=D1=80=D1=80?= =?UTF-8?q?=D0=B5=D0=BA=D1=82=D0=BD=D0=B0=D1=8F=20=D0=BE=D1=82=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B0=20id=20=D0=BA=D0=B2=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D1=8B=20plan7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Modules/Bitrix/Traits/Bitrixable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Modules/Bitrix/Traits/Bitrixable.php b/app/Modules/Bitrix/Traits/Bitrixable.php index 7a966e1..27d3787 100644 --- a/app/Modules/Bitrix/Traits/Bitrixable.php +++ b/app/Modules/Bitrix/Traits/Bitrixable.php @@ -9,8 +9,7 @@ use Illuminate\Database\Eloquent\Relations\HasOne; use Illuminate\Database\Eloquent\Relations\BelongsTo; - - +use Illuminate\Support\Facades\Log; trait Bitrixable { @@ -57,6 +56,7 @@ protected static function create(array $attributes = []) catch (\Exception $e) { $model->delete(); + Log::error($e->getMessage()); throw new \Exception('Error of bitrix identifier getter'); } }