From 074b630679cc07d7d48987ad962e68b0d10ff799 Mon Sep 17 00:00:00 2001 From: xing Date: Sun, 26 May 2024 22:28:16 +0800 Subject: [PATCH] optimize --- app/Jobs/notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/notice.php b/app/Jobs/notice.php index c926e6a..c4b1330 100644 --- a/app/Jobs/notice.php +++ b/app/Jobs/notice.php @@ -95,7 +95,7 @@ public function addGoods(): void } catch (Throwable $throwable) { \App\Models\Notice::query()->whereIn('notice_id', $noticeIds) ->update(['err_message' => $throwable->getMessage()]); - throw new $throwable; + throw $throwable; } }