Skip to content

Commit

Permalink
Merge pull request #20 from ianwith/dev
Browse files Browse the repository at this point in the history
Release: 0.2.1
  • Loading branch information
ianwith authored Mar 29, 2018
2 parents 2d9d4ed + d74c752 commit a1ccf21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/rexxarFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ function resolveResponse(response) {
}
});
} else {
if (response.status === 999) {
throw new TypeError('Network request failed');
}
return response;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rexxar-web",
"version": "0.2.0",
"version": "0.2.1",
"description": "Rexxar Web",
"main": "./lib/index.js",
"scripts": {
Expand Down

0 comments on commit a1ccf21

Please sign in to comment.