aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-09-14 17:54:11 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-09-14 17:05:59 +0000
commit458bf21d934e356c20b69a1c7b0aae79197e1023 (patch)
tree8594155677af5d12d7d4451200d9ab4e9363964a /asdctool
parentcec4c5b5fac4fc0567535fa7254aae29160b2a0a (diff)
Improve error reporting during the service import
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I407d18e3b1c0757efb4623d73b21d98cbb76310a Issue-ID: SDC-4623
Diffstat (limited to 'asdctool')
-rw-r--r--asdctool/src/main/resources/config/error-configuration.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/asdctool/src/main/resources/config/error-configuration.yaml b/asdctool/src/main/resources/config/error-configuration.yaml
index 23170b55b7..b9f1858bdd 100644
--- a/asdctool/src/main/resources/config/error-configuration.yaml
+++ b/asdctool/src/main/resources/config/error-configuration.yaml
@@ -1325,9 +1325,10 @@ errors:
}
#---------SVC4605------------------------------
# %1 - csar file name
+ # %2 - error message
CSAR_INVALID_FORMAT: {
code: 400,
- message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.",
+ message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.\n%2",
messageId: "SVC4605"
}
#---------SVC4606------------------------------