Skip to content

Commit

Permalink
Configure honeybadger with the API key before using
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed Nov 22, 2019
1 parent 049a914 commit c0b67bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Logger.js
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down

0 comments on commit c0b67bf

Please sign in to comment.