]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
add some traces and a possible fix for the bug that stops the jobs command
authorSRE <support-salome@cea.fr>
Wed, 5 Apr 2017 09:44:04 +0000 (11:44 +0200)
committerSRE <support-salome@cea.fr>
Wed, 5 Apr 2017 09:44:04 +0000 (11:44 +0200)
commands/jobs.py

index 8c863507ef92351ec6c98e7504020f9fe2149834..a8d3970f8a5968b1c040967da0fa1c0596c8ac91 100644 (file)
@@ -518,7 +518,12 @@ class Job(object):
             try:
                 self.get_log_files()
             except Exception as e:
-                self.err += _("Unable to get remote log files: %s" % e)
+                # The 2 following lines must be suppressed after the bug is fixed
+                print("The error type: ")
+                print(type(e))
+                print("The error: ")
+                print(e)
+                self.err += _("Unable to get remote log files: %s" % str(e))
             
     def total_duration(self):
         """Give the total duration of the job