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){