@intuned/runtime-dev 1.0.6-cli-auth.0.0.12-test → 1.0.6-cli-auth.0.0.13-test
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.
|
@@ -137,8 +137,12 @@ async function runCheckApiViaCLI(authSessionPath) {
|
|
|
137
137
|
if (runApiResult.error instanceof _runApi.AutomationError) {
|
|
138
138
|
throw runApiResult.error.error;
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
if (runApiResult.error.message === _types.CHECK_FAILED_ERROR_MESSAGE) {
|
|
141
|
+
return false;
|
|
142
|
+
} else {
|
|
143
|
+
console.error(runApiResult.error);
|
|
144
|
+
throw new Error("Error while running check");
|
|
145
|
+
}
|
|
142
146
|
}
|
|
143
147
|
const result = runApiResult.value.result;
|
|
144
148
|
if (!result) {
|