We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d51ef37 commit 1372a30Copy full SHA for 1372a30
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-update-cli",
3
- "version": "1.30.0",
+ "version": "1.30.2",
4
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
5
"main": "index.js",
6
"bin": {
src/api.js
@@ -166,7 +166,9 @@ export async function uploadFile(fn, key) {
166
}
167
if (resp.statusCode > 299) {
168
return reject(
169
- Object.assign(new Error(body), { status: resp.statusCode }),
+ Object.assign(new Error(JSON.stringify(body)), {
170
+ status: resp.statusCode,
171
+ }),
172
);
173
174
resolve({ hash: formData.key });
0 commit comments