From 1d10afbcb80db994abe69efe690f6bd5f392ebdf Mon Sep 17 00:00:00 2001 From: cmz Date: Tue, 27 Aug 2024 22:19:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BD=95=E5=85=A5=E5=BA=8A?= =?UTF-8?q?=E4=BD=8D=E4=BF=A1=E6=81=AF=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Imports/BedFirstSheetImport.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Imports/BedFirstSheetImport.php b/app/Imports/BedFirstSheetImport.php index 26fa382..ebc39c0 100644 --- a/app/Imports/BedFirstSheetImport.php +++ b/app/Imports/BedFirstSheetImport.php @@ -259,8 +259,7 @@ class BedFirstSheetImport implements ToCollection, WithBatchInserts, WithChunkRe throw new \Exception($errorMessage); } else { // 其他类型的错误处理逻辑 -// throw new \Exception("导入数据失败2,请重试"); - throw new \Exception($e->getMessage()); + throw new \Exception("导入数据失败2,请重试"); } }catch (\Exception $e){