Mercurial > hg > orthanc
changeset 5736:264d84c1936a
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 30 Jul 2024 06:06:21 +0200 |
parents | 0ca3e7c86b5d |
children | 2fe77dfe0466 |
files | OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp Mon Jul 29 14:41:38 2024 +0200 +++ b/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp Tue Jul 30 06:06:21 2024 +0200 @@ -178,6 +178,9 @@ try { SystemToolbox::WriteFile(content, size, path.string(), fsyncOnWrite_); + + LOG(INFO) << "Created attachment \"" << uuid << "\" (" << timer.GetHumanTransferSpeed(true, size) << ")"; + return; } catch (OrthancException& ex) { @@ -187,8 +190,6 @@ } } } - - LOG(INFO) << "Created attachment \"" << uuid << "\" (" << timer.GetHumanTransferSpeed(true, size) << ")"; }