crowdin-api
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -31,4 +31,8 @@ 'use strict'; | ||
if (err.response && err.response.body) { | ||
var parsed = JSON.parse(err.response.body); | ||
throwError(parsed); | ||
try { | ||
var parsed = JSON.parse(err.response.body); | ||
throwError(parsed); | ||
} catch (parseErr) { | ||
throw err; | ||
} | ||
} | ||
@@ -35,0 +39,0 @@ |
{ | ||
"name": "crowdin-api", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "API client for Crowdin", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
11941
254