Skip to content

Commit

Permalink
Fix bug where errors thrown if configured with env vars instead of file
Browse files Browse the repository at this point in the history
  • Loading branch information
40thieves committed Mar 8, 2017
1 parent ffb0f44 commit 30a82c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/helpers/sentry.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import request from 'request-promise'
import dotenv from 'dotenv'

dotenv.load()
// Silence logs if .env file is missing (configured through environment
// variables instead)
dotenv.load({ silent: true })

export const {
SENTRY_API_KEY,
Expand Down

0 comments on commit 30a82c4

Please sign in to comment.