changeset 5437:85da6dcd0e08

merge
author Alain Mazy <am@osimis.io>
date Wed, 22 Nov 2023 09:39:35 +0100
parents 6f2b11bfee8d (diff) 43d347f495e9 (current diff)
children 7a20ee948676 40112827c56f
files
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.cpp	Tue Nov 21 20:16:07 2023 +0100
+++ b/OrthancServer/Sources/ServerContext.cpp	Wed Nov 22 09:39:35 2023 +0100
@@ -285,6 +285,14 @@
         {
           LOG(WARNING) << "Cannot unserialize the jobs engine, starting anyway: " << e.What();
         }
+        catch (const std::string& s) 
+        {
+          LOG(WARNING) << "Cannot unserialize the jobs engine, starting anyway: \"" << s << "\"";
+        }
+        catch (...)
+        {
+          LOG(WARNING) << "Cannot unserialize the jobs engine, starting anyway";
+        }
       }
       else
       {