We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1f172 commit 398fac3Copy full SHA for 398fac3
lib/interface/cli/commands/pipeline/run.base.js
@@ -100,9 +100,13 @@ class RunBaseCommand {
100
try {
101
await sdk.pipelines.get({ name: pipelineName });
102
} catch (err) {
103
- throw new CFError({
104
- message: `Passed pipeline id: ${pipelineName} does not exist`,
105
- });
+ if (err.status === 404) {
+ throw new CFError({
+ message: `Passed pipeline id: ${pipelineName} does not exist`,
106
+ });
107
+ }
108
+
109
+ throw err;
110
}
111
112
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "codefresh",
3
- "version": "0.75.29",
+ "version": "0.75.30",
4
"description": "Codefresh command line utility",
5
"main": "index.js",
6
"preferGlobal": true,
0 commit comments