Skip to content

Commit

Permalink
Gei bookings extends errors (#10)
Browse files Browse the repository at this point in the history
* Update package.json

* chore: extendes error unknown
  • Loading branch information
TakSeBiegam committed Sep 14, 2023
1 parent 57b9b10 commit 186de21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/integrations/gei-bookings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gei-bookings",
"version": "0.0.2",
"version": "0.0.3",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/gei-bookings/src/utils/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const errMiddleware = async <T>(handler: () => Promise<T>): Promise<T | {
},
};
}
return { response: { error: { message: 'unknown' } } };
return { response: { error: { message: `unknown error: ${e}` } } };
}
};

Expand Down

0 comments on commit 186de21

Please sign in to comment.