primate 0.31.2 → 0.31.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primate",
3
- "version": "0.31.2",
3
+ "version": "0.31.3",
4
4
  "description": "Polymorphic development platform",
5
5
  "homepage": "https://primatejs.com",
6
6
  "bugs": "https://github.com/primatejs/primate/issues",
@@ -53,6 +53,8 @@ const post = async app => {
53
53
  error instanceof DoubleRoute && errors.DoubleRoute.throw(error.route);
54
54
  error instanceof OptionalRoute && errors.OptionalRoute.throw(error.route);
55
55
  error instanceof RestRoute && errors.RestRoute.throw(error.route);
56
+ // rethrow original error
57
+ throw error;
56
58
  }
57
59
  const layout = { depth: router.depth("layout") };
58
60
  return { ...app, types, dispatch: dispatch(types), layout, router };