@contrail/cli 2.0.2 → 2.0.3
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.
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ $ npm install -g @contrail/cli
|
|
|
14
14
|
$ contrail-cli COMMAND
|
|
15
15
|
running command...
|
|
16
16
|
$ contrail-cli (--version)
|
|
17
|
-
@contrail/cli/2.0.
|
|
17
|
+
@contrail/cli/2.0.3 darwin-arm64 node-v18.13.0
|
|
18
18
|
$ contrail-cli --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ contrail-cli COMMAND
|
|
@@ -51,12 +51,13 @@ export class ActionDispatcher {
|
|
|
51
51
|
body
|
|
52
52
|
}
|
|
53
53
|
} catch (error) {
|
|
54
|
-
console.log("Error caught in handling action: ", error)
|
|
54
|
+
console.log("Error caught in handling action, sending Failure status: ", error)
|
|
55
55
|
return {
|
|
56
|
-
statusCode:
|
|
56
|
+
statusCode: 200,
|
|
57
57
|
body: {
|
|
58
58
|
output: {
|
|
59
59
|
errorMessage: error.message,
|
|
60
|
+
errorDetails: error.details
|
|
60
61
|
},
|
|
61
62
|
taskId: data.taskId,
|
|
62
63
|
logs: logger.allEntries,
|
package/oclif.manifest.json
CHANGED