changeset 5992:773a082325f4

changed error
author Alain Mazy <am@orthanc.team>
date Wed, 22 Jan 2025 15:20:38 +0100 (3 weeks ago)
parents 0ff2544984d2
children 9c20ede25ef8
files OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp	Wed Jan 22 13:47:31 2025 +0100
+++ b/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp	Wed Jan 22 15:20:38 2025 +0100
@@ -651,7 +651,7 @@
           s += " " + std::string(GetTransferSyntaxUid(*it));
         }
         
-        throw OrthancException(ErrorCode_NotImplemented, "Cannot transcode instance of SOPClassUID " + 
+        throw OrthancException(ErrorCode_InternalError, "Cannot transcode instance of SOPClassUID " + 
                                sopClassUid + " from " +
                                std::string(GetTransferSyntaxUid(sourceSyntax)) +
                                " to one of [" + s + " ]");