parse 7.0.0 → 7.0.1-alpha.1

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/dist/parse.js CHANGED
@@ -191,7 +191,7 @@
191
191
  SERVER_URL: "https://api.parse.com/1",
192
192
  LIVEQUERY_SERVER_URL: null,
193
193
  ENCRYPTED_KEY: null,
194
- VERSION: "js7.0.0",
194
+ VERSION: "js7.0.1-alpha.1",
195
195
  APPLICATION_ID: null,
196
196
  JAVASCRIPT_KEY: null,
197
197
  MAINTENANCE_KEY: null,
@@ -55078,7 +55078,8 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
55078
55078
  } else if (status === 0) {
55079
55079
  promise.reject("Unable to connect to the Parse API");
55080
55080
  } else {
55081
- promise.reject(response);
55081
+ const error = await response.json();
55082
+ promise.reject(error);
55082
55083
  }
55083
55084
  } else {
55084
55085
  promise.reject(response);