Skip to content

Commit

Permalink
Modify examples(HTTPFetchError field name)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengooseDev committed Mar 7, 2024
1 parent f52e697 commit c9b5c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/echo-bot-ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ app.post(
await textEventHandler(event);
} catch (err: unknown) {
if (err instanceof HTTPFetchError) {
console.error(err.statusCode);
console.error(err.status);
console.error(err.headers.get('x-line-request-id'));
console.error(err.body);
} else if (err instanceof Error) {
Expand Down

0 comments on commit c9b5c36

Please sign in to comment.