From 58fa7187c93207d8cefe04202a2e7ab05687bb39 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 16 May 2023 10:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=88=9B=E5=BB=BA=E9=97=AE?= =?UTF-8?q?=E8=AF=8A=E8=AE=A2=E5=8D=95log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/InquiryService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index 4b0e946..bed9b88 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -344,6 +344,7 @@ class InquiryService extends BaseService Db::commit(); } catch (\Exception $e) { Db::rollBack(); + Log::getInstance()->error("错误:" . $e->getMessage()); return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage()); }