# HG changeset patch # User Alain Mazy # Date 1780332934 -7200 # Node ID 4705abdce4498b22c48cf5f36e0338696f28c23b # Parent 5f1e9d5cfb5278ff608e75723c0fe5129b06a8b6 Always log NotImplemented and InternalError exceptions diff -r 5f1e9d5cfb52 -r 4705abdce449 OrthancFramework/Sources/OrthancException.cpp --- a/OrthancFramework/Sources/OrthancException.cpp Mon Jun 01 17:22:29 2026 +0200 +++ b/OrthancFramework/Sources/OrthancException.cpp Mon Jun 01 18:55:34 2026 +0200 @@ -126,7 +126,7 @@ OrthancException::OrthancException(ErrorCode errorCode) : errorCode_(errorCode), httpStatus_(ConvertErrorCodeToHttpStatus(errorCode)), - logged_(false) + logged_(errorCode == ErrorCode_NotImplemented || errorCode == ErrorCode_InternalError) // always log these internal errors to help identify the faulty code { }