file upload

Raod 2 years ago
parent 7965878e51
commit 42f85532de

@ -123,8 +123,7 @@ public class GaeaFileServiceImpl implements GaeaFileService {
// 将完整的http访问路径返回 // 将完整的http访问路径返回
return gaeaFile; return gaeaFile;
} catch (Exception e) { } catch (Exception e) {
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); log.error("file upload error", e);
log.error("file upload error: {}", e);
throw BusinessExceptionBuilder.build(ResponseCode.FILE_UPLOAD_ERROR); throw BusinessExceptionBuilder.build(ResponseCode.FILE_UPLOAD_ERROR);
} }
} }

Loading…
Cancel
Save