This commit is contained in:
xing 2024-05-26 22:28:16 +08:00
parent f3b15713c2
commit 074b630679

View File

@ -95,7 +95,7 @@ public function addGoods(): void
} catch (Throwable $throwable) { } catch (Throwable $throwable) {
\App\Models\Notice::query()->whereIn('notice_id', $noticeIds) \App\Models\Notice::query()->whereIn('notice_id', $noticeIds)
->update(['err_message' => $throwable->getMessage()]); ->update(['err_message' => $throwable->getMessage()]);
throw new $throwable; throw $throwable;
} }
} }