Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to implement Global Exception handler #4452

Open
bandlachiranjeevi opened this issue Jun 9, 2023 · 3 comments
Open

Want to implement Global Exception handler #4452

bandlachiranjeevi opened this issue Jun 9, 2023 · 3 comments
Labels
support Questions, discussions, and general support

Comments

@bandlachiranjeevi
Copy link

Support plan

  • is this issue currently blocking your project? (yes/no):
  • is this issue affecting a production system? (yes/no):

Context

  • node version:
  • module version:
  • environment (e.g. node, browser, native):
  • used with (e.g. hapi application, another framework, standalone, ...):
  • any other relevant information:

How can we help?

const some = 'properly formatted code example';
@bandlachiranjeevi bandlachiranjeevi added the support Questions, discussions, and general support label Jun 9, 2023
@Marsup
Copy link
Contributor

Marsup commented Jun 9, 2023

Mind being more specific than just the title?

@bandlachiranjeevi
Copy link
Author

Hi, Actually I am using @hapi/hapi package to load my node server. I want to handle exception handler globally. when there is error in any route I want to capture the logs using exception handler.

@Marsup
Copy link
Contributor

Marsup commented Jun 9, 2023

That would be https://hapi.dev/api/?v=21.3.2#-request-event 2nd example I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions, discussions, and general support
Projects
None yet
Development

No branches or pull requests

2 participants