PAL: Dislpay job name in err msg 62/28962/2
authorTibor Frank <tifrank@cisco.com>
Mon, 21 Sep 2020 04:36:34 +0000 (06:36 +0200)
committerTibor Frank <tifrank@cisco.com>
Mon, 21 Sep 2020 04:37:35 +0000 (04:37 +0000)
Change-Id: I008d14bf1f72bcdc9b6bcb478ae851de03a176e0
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/specification_parser.py

index 0199796..5a88a7b 100644 (file)
@@ -307,8 +307,9 @@ class Specification:
         else:
             raise PresentationError(f"Not supported build type: {build_type}")
         if ret_code != 0:
-            raise PresentationError(u"Not possible to get the number of the "
-                                    u"build number.")
+            raise PresentationError(
+                f"Not possible to get the build number of {job}."
+            )
         try:
             build_nr = int(build_nr)
             return build_nr