mirror of
https://github.com/valitydev/disputes-api.git
synced 2024-11-06 00:55:23 +00:00
fix log
This commit is contained in:
parent
cc4e6a1426
commit
3625778fd0
@ -37,7 +37,7 @@ public class FileStorageServiceImpl implements FileStorageService {
|
||||
log.debug("Trying to create new file to file-storage");
|
||||
var result = fileStorageClient.createNewFile(Collections.emptyMap(), getTime().toString());
|
||||
var fileDataId = result.getFileDataId();
|
||||
log.debug("Trying to upload data to file-storage with id: {}", fileDataId);
|
||||
log.debug("Trying to upload data to s3 with id: {}", fileDataId);
|
||||
var requestPut = new HttpPut(result.getUploadUrl());
|
||||
requestPut.setEntity(HttpEntities.create(data, null));
|
||||
// execute() делает внутри try-with-resources + закрывает InputStream в EntityUtils.consume(entity)
|
||||
|
Loading…
Reference in New Issue
Block a user