Skip to content

Commit

Permalink
Merge pull request #20 from ice-lab/fix-throw-error
Browse files Browse the repository at this point in the history
fix: throw error
  • Loading branch information
alvinhui authored Jul 10, 2019
2 parents 67d9870 + 3326890 commit 149111b
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": "@ice/store",
"version": "0.2.1",
"version": "0.2.2",
"description": "基于 React Hooks 的数据流方案",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class Store {
} catch (e) {
wrapper.error = e;
afterExec();
throw new Error(e);
throw e;
}
};

Expand Down

0 comments on commit 149111b

Please sign in to comment.