Skip to content

Commit

Permalink
Merge pull request #15 from hepsiburada/fix/catch-chain
Browse files Browse the repository at this point in the history
Promise catch chain fixed
  • Loading branch information
yasin749 authored Apr 29, 2021
2 parents c1f9e89 + 3154b18 commit ea56003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "voltranjs",
"version": "1.0.7",
"version": "1.0.8",
"main": "src/index.js",
"author": "Hepsiburada Technology Team",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/universal/model/Request.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Request {
if (this.response?.onError) {
return this.response.onError(error);
}
return error;
throw error;
});
}
return promise;
Expand Down

0 comments on commit ea56003

Please sign in to comment.