@snyk/docker-registry-v2-client
Advanced tools
Comparing version 1.13.7 to 1.13.8
@@ -34,3 +34,10 @@ "use strict"; | ||
} | ||
throw new NeedleWrapperException(JSON.stringify(message), response.statusCode, response.headers); | ||
if (typeof response.body !== "string") { | ||
try { | ||
message = JSON.stringify(message); | ||
// eslint-disable-next-line no-empty | ||
} | ||
catch (_) { } | ||
} | ||
throw new NeedleWrapperException(message, response.statusCode, response.headers); | ||
} | ||
@@ -37,0 +44,0 @@ return response; |
@@ -45,3 +45,3 @@ { | ||
}, | ||
"version": "1.13.7" | ||
"version": "1.13.8" | ||
} |
Sorry, the diff of this file is not supported yet
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
35241
412