Skip to content

Commit

Permalink
Merge pull request #121 from LD4P/configure_honeybadger
Browse files Browse the repository at this point in the history
Configure honeybadger with the API key before using
  • Loading branch information
justinlittman authored Nov 22, 2019
2 parents 049a914 + c0b67bf commit d0d80a8
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 d0d80a8

Please sign in to comment.