@applitools/ufg-client
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -91,3 +91,3 @@ "use strict"; | ||
if (expected && (utils.types.isArray(expected) ? !expected.includes(response.status) : expected !== response.status)) { | ||
throw new Error(`Request "${name}" that was sent to the address "[${request.method}]${request.url}" failed due to unexpected status ${response.statusText}(${response.status})`); | ||
throw new Error(`Request "${name}" that was sent to the address "[${request.method}]${request.url}" failed due to unexpected status ${response.statusText}(${response.status}) with body ${JSON.stringify(await response.clone().text())}`); | ||
} | ||
@@ -94,0 +94,0 @@ }, |
{ | ||
"name": "@applitools/ufg-client", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"homepage": "https://applitools.com", | ||
@@ -5,0 +5,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97507