Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Lib
cloud
azure
OS Core Lib Azure
Commits
6da96104
Commit
6da96104
authored
Apr 06, 2021
by
Krishna Nikhil Vedurumudi
Browse files
Fixing logs in BlobStore
parent
5dd68db0
Pipeline
#35007
passed with stages
in 6 minutes and 49 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/opengroup/osdu/azure/blobstorage/BlobStore.java
View file @
6da96104
...
...
@@ -186,7 +186,7 @@ public class BlobStore {
int
statusCode
=
HttpStatus
.
SC_OK
;
try
(
ByteArrayInputStream
dataStream
=
new
ByteArrayInputStream
(
bytes
))
{
blockBlobClient
.
upload
(
dataStream
,
bytesSize
,
true
);
CoreLoggerFactory
.
getInstance
().
getLogger
(
LOGGER_NAME
).
info
(
"{}"
,
MessageFormatter
.
format
(
"Done uploading file content to
%s
"
,
filePath
).
getMessage
());
CoreLoggerFactory
.
getInstance
().
getLogger
(
LOGGER_NAME
).
info
(
"{}"
,
MessageFormatter
.
format
(
"Done uploading file content to
{}
"
,
filePath
).
getMessage
());
}
catch
(
BlobStorageException
ex
)
{
statusCode
=
ex
.
getStatusCode
();
throw
handleBlobStoreException
(
500
,
"Failed to upload file content."
,
ex
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment