Skip to content

Commit

Permalink
Add raven
Browse files Browse the repository at this point in the history
  • Loading branch information
dz0ny committed Mar 14, 2017
1 parent 50bf17a commit 0fe7b93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.coffee
@@ -1,9 +1,9 @@
fat = require './lib/fat'

console.log process.env
Raven = require 'raven'

if process.env.REDIS_URL?
global.redis = require('then-redis').createClient(process.env.REDIS_URL)
Raven.config('https://35574451cc22408db3633f942dc4d0af:cf25dead00cd4a66b6c7e47d18c89e63@sentry.io/147995').install()
else
global.redis = require('then-redis').createClient()

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -28,6 +28,7 @@
"moment": "latest",
"oauth": "latest",
"parse-rss": "latest",
"raven": "^1.1.4",
"redis": "^2.6.3",
"redis-commands": "^1.3.0",
"request": "latest",
Expand Down

0 comments on commit 0fe7b93

Please sign in to comment.