changeset 6898:dcaa0166d015

revert exception logging
author Alain Mazy <am@orthanc.team>
date Mon, 01 Jun 2026 22:31:59 +0200
parents 00e690fc159f
children 4d044e9e0da1
files OrthancFramework/Sources/OrthancException.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/OrthancException.cpp	Mon Jun 01 21:17:06 2026 +0200
+++ b/OrthancFramework/Sources/OrthancException.cpp	Mon Jun 01 22:31:59 2026 +0200
@@ -126,7 +126,7 @@
   OrthancException::OrthancException(ErrorCode errorCode) : 
     errorCode_(errorCode),
     httpStatus_(ConvertErrorCodeToHttpStatus(errorCode)),
-    logged_(errorCode == ErrorCode_NotImplemented || errorCode == ErrorCode_InternalError) // always log these internal errors to help identify the faulty code
+    logged_(false)
   {
   }