Salome HOME
Fix segfault when a job query fails with SLURM BR_V1_3_6 EMC2P-1.3.6-rc5 EMC2P_V_1_3_6 EMC2P_V_1_3_6-rc6
authorRenaud Barate <renaud.barate@edf.fr>
Thu, 1 Sep 2022 13:18:04 +0000 (15:18 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Thu, 1 Sep 2022 13:49:40 +0000 (15:49 +0200)
src/Slurm/BatchManager_Slurm.cxx

index 1d6fe6f05b6d73e71689b4a771f8a94bf1a6a425..ba9fb86516c07c10fd6954b30d71ff1187a87505 100644 (file)
@@ -251,7 +251,7 @@ namespace Batch {
                 throw(exc);
             }
         } else {
-            throw RunTimeException("sacct command failed with return code: " + status);
+            throw RunTimeException("sacct command failed with return code: " + to_string(status));
         }
     }
     return jobinfo;