mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-31 21:02:23 +08:00 
			
		
		
		
	fix(file/excel): 修复导出时无法正确捕捉异常的问题
This commit is contained in:
		| @@ -89,6 +89,7 @@ public class ExcelUtils { | ||||
|                 .doWrite(list); | ||||
|         } catch (Exception e) { | ||||
|             log.error("Export excel occurred an error: {}. fileName: {}.", e.getMessage(), fileName, e); | ||||
|             response.reset(); | ||||
|             throw new BaseException("导出 Excel 出现错误"); | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 danaodai
					danaodai