Honeybadger

Connecting

HONEYBADGER_API_KEY={key} node app.js

Just setting the env var in config will suffice.

Logging errors

You can use orka’s logger see logs to log errors to HB

logger.error(error, 'augment error message', { customKey: {}, action: 'action', component: 'logger-category' });

any custom keys given will be added to context sent to HB.