qase-javascript-commons 2.2.5 → 2.2.6
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/changelog.md
CHANGED
|
@@ -542,7 +542,7 @@ class TestOpsReporter extends abstract_reporter_1.AbstractReporter {
|
|
|
542
542
|
if (error.response?.status === 404) {
|
|
543
543
|
return new qase_error_1.QaseError(message + ': Not found.');
|
|
544
544
|
}
|
|
545
|
-
if (error.response?.status === 400) {
|
|
545
|
+
if (error.response?.status === 400 || error.response?.status === 422) {
|
|
546
546
|
return new qase_error_1.QaseError(message + ': Bad request. Body: \n ' + JSON.stringify(model));
|
|
547
547
|
}
|
|
548
548
|
return new qase_error_1.QaseError(message, { cause: error });
|