@sap-ux/deploy-tooling 0.16.4 → 0.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ const prompt_1 = require("./prompt");
10
10
  const system_access_1 = require("@sap-ux/system-access");
11
11
  const archive_1 = require("./archive");
12
12
  const validate_1 = require("./validate");
13
+ const inquirer_common_1 = require("@sap-ux/inquirer-common");
13
14
  /**
14
15
  * Handle exceptions thrown, in some cases we to retry them.
15
16
  *
@@ -21,6 +22,12 @@ const validate_1 = require("./validate");
21
22
  * @param archive - archive file that is to be deployed
22
23
  */
23
24
  async function handleError(command, error, provider, config, logger, archive) {
25
+ if (inquirer_common_1.ErrorHandler.isCertError(error)) {
26
+ const gaLink = inquirer_common_1.ErrorHandler.getHelpForError(inquirer_common_1.ERROR_TYPE.CERT)?.toString();
27
+ if (gaLink) {
28
+ logger.info(gaLink);
29
+ }
30
+ }
24
31
  const retry = config.retry === undefined ? true : config.retry;
25
32
  if (retry && (0, axios_extension_1.isAxiosError)(error)) {
26
33
  const success = await axiosErrorRetryHandler(command, error.response, provider, config, logger, archive);
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Adeploy-tooling"
11
11
  },
12
- "version": "0.16.4",
12
+ "version": "0.16.5",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -34,6 +34,7 @@
34
34
  "chalk": "4.1.2",
35
35
  "@sap-ux/axios-extension": "1.21.2",
36
36
  "@sap-ux/btp-utils": "1.1.0",
37
+ "@sap-ux/inquirer-common": "0.7.8",
37
38
  "@sap-ux/logger": "0.7.0",
38
39
  "@sap-ux/system-access": "0.6.2",
39
40
  "@sap-ux/ui5-config": "0.28.2",