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