Browse Source

优化录入床位信息报错问题

master
崔茂正 10 months ago
parent
commit
1d10afbcb8
  1. 3
      app/Imports/BedFirstSheetImport.php

3
app/Imports/BedFirstSheetImport.php

@ -259,8 +259,7 @@ class BedFirstSheetImport implements ToCollection, WithBatchInserts, WithChunkRe @@ -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){

Loading…
Cancel
Save