From 458bf21d934e356c20b69a1c7b0aae79197e1023 Mon Sep 17 00:00:00 2001 From: vasraz Date: Thu, 14 Sep 2023 17:54:11 +0100 Subject: Improve error reporting during the service import Signed-off-by: Vasyl Razinkov Change-Id: I407d18e3b1c0757efb4623d73b21d98cbb76310a Issue-ID: SDC-4623 --- asdctool/src/main/resources/config/error-configuration.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'asdctool/src') 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------------------------------ -- cgit 1.2.3-korg