From f3be35f8fe0631d1cd461758282f7c6209cb8929 Mon Sep 17 00:00:00 2001
From: Stefan Froehlich <s.froehlich@fz-juelich.de>
Date: Mon, 29 Aug 2016 08:07:48 +0000
Subject: [PATCH] Task #9800: better output in case of errors.

---
 CEP/Pipeline/recipes/sip/master/executable_args.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CEP/Pipeline/recipes/sip/master/executable_args.py b/CEP/Pipeline/recipes/sip/master/executable_args.py
index e418b7e399c..5fd1472b9f7 100644
--- a/CEP/Pipeline/recipes/sip/master/executable_args.py
+++ b/CEP/Pipeline/recipes/sip/master/executable_args.py
@@ -391,7 +391,7 @@ class executable_args(BaseRecipe, RemoteCommandRecipeMixIn):
             if job.results['returncode'] != 0:
                 outp.skip = True
                 if not self.inputs['error_tolerance']:
-                    self.logger.error("A job has failed and error_tolerance is not set. Bailing out!")
+                    self.logger.error("A job has failed with returncode %d and error_tolerance is not set. Bailing out!" % job.results['returncode'])
                     return 1
             for k, v in job.results.items():
                 if not k in jobresultdict:
-- 
GitLab