Permalink
Browse files

Add raven

  • Loading branch information...
1 parent 50bf17a commit 0fe7b93bab2214056c18f94507e39067ad18a66c @dz0ny dz0ny committed Mar 14, 2017
Showing with 3 additions and 2 deletions.
  1. +2 −2 bot.coffee
  2. +1 −0 package.json
View
@@ -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()
View
@@ -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",

0 comments on commit 0fe7b93

Please sign in to comment.