Comparing version 1.2.1 to 1.2.2
@@ -627,3 +627,3 @@ /** | ||
var error = new Error('API response was not ok.'); | ||
_this.log(_extends({}, res, { error: error })); | ||
_this.log('response', error.toString(), res); | ||
error.response = res; | ||
@@ -630,0 +630,0 @@ throw error; |
@@ -629,3 +629,3 @@ 'use strict'; | ||
var error = new Error('API response was not ok.'); | ||
_this.log(_extends({}, res, { error: error })); | ||
_this.log('response', error.toString(), res); | ||
error.response = res; | ||
@@ -632,0 +632,0 @@ throw error; |
{ | ||
"name": "snuffles", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A wrapper around the native fetch function, returning the response body as a camelCased object", | ||
@@ -5,0 +5,0 @@ "author": "railslove", |
Sorry, the diff of this file is not supported yet
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
166054