aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-09-21 06:36:34 +0200
committerTibor Frank <tifrank@cisco.com>2020-09-21 04:37:35 +0000
commit28b09d77b497685553d28ad7b0a98f08e89b7f7f (patch)
tree928cf11aa395475d4c94d8447b5c2d181943dc70
parentaec0a24a1a2bfb677a3cda5865e4b9c8e2011b68 (diff)
PAL: Dislpay job name in err msg
Change-Id: I008d14bf1f72bcdc9b6bcb478ae851de03a176e0 Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/tools/presentation/specification_parser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/tools/presentation/specification_parser.py b/resources/tools/presentation/specification_parser.py
index 0199796abd..5a88a7ba0d 100644
--- a/resources/tools/presentation/specification_parser.py
+++ b/resources/tools/presentation/specification_parser.py
@@ -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