From c0b67bf0a04135f0e412129930ea56886b44130b Mon Sep 17 00:00:00 2001 From: "Michael J. Giarlo" Date: Fri, 22 Nov 2019 08:30:38 -0800 Subject: [PATCH] Configure honeybadger with the API key before using --- src/Logger.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Logger.js b/src/Logger.js index 207555e..45d6a6d 100644 --- a/src/Logger.js +++ b/src/Logger.js @@ -1,5 +1,9 @@ import config from 'config' -import Honeybadger from 'honeybadger' +import honeybadger from 'honeybadger' + +const Honeybadger = honeybadger.configure({ + apiKey: process.env.HONEYBADGER_API_KEY +}) export default class Logger { /**