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; } }