changeset 5492:26877f4b306f pg-transactions

now only logging 'Maximum transactions retries reached' as an error
author Alain Mazy <am@osimis.io>
date Wed, 10 Jan 2024 15:26:10 +0100
parents 4b51cf06b697
children b3ebe249ed5b
files OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp	Thu Dec 21 16:13:00 2023 +0100
+++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp	Wed Jan 10 15:26:10 2024 +0100
@@ -632,6 +632,7 @@
         {
           if (attempt >= maxRetries_)
           {
+            LOG(ERROR) << "Maximum transactions retries reached " << e.GetDetails();
             throw;
           }
           else