# HG changeset patch # User Alain Mazy # Date 1722312381 -7200 # Node ID 264d84c1936a6e713a01b230731bfa3d6732ce93 # Parent 0ca3e7c86b5db06bc3d0a35b45a9b1600fc8cca1 fix diff -r 0ca3e7c86b5d -r 264d84c1936a OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp --- 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) << ")"; }