You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Honeybadger for error notification. I am following this guide: https://docs.honeybadger.io/lib/javascript/integration/node. But I am not sure where is the right place to configure the Honeybadger in a Remix project. I am mostly interested in getting notifications for errors on the server side and want to keep my API_KEY in env. So, where do I insert this HB setup code if I want it to catch errors for all my server-side code? At the moment, I am adding it to every single *.server.ts file, but that's not optimal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using Honeybadger for error notification. I am following this guide: https://docs.honeybadger.io/lib/javascript/integration/node. But I am not sure where is the right place to configure the Honeybadger in a Remix project. I am mostly interested in getting notifications for errors on the server side and want to keep my API_KEY in env. So, where do I insert this HB setup code if I want it to catch errors for all my server-side code? At the moment, I am adding it to every single
*.server.ts
file, but that's not optimal.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions