Commit fb9f58dd authored by Robert Speicher's avatar Robert Speicher 🇳🇱

Add Sentry error tracking

parent ddfdca90
......@@ -3,5 +3,6 @@ source 'https://rubygems.org'
gem 'dotenv', '~> 2.0.2'
gem 'mrkt', '~> 0.6.0'
gem 'full-name-splitter', '~> 0.1.2'
gem 'sentry-raven', '~> 0.15'
gem 'sinatra', '~> 1.4.6', require: 'sinatra/base'
gem 'unicorn'
......@@ -15,6 +15,8 @@ GEM
rack-protection (1.5.3)
rack
raindrops (0.15.0)
sentry-raven (0.15.6)
faraday (>= 0.7.6)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
......@@ -32,8 +34,9 @@ DEPENDENCIES
dotenv (~> 2.0.2)
full-name-splitter (~> 0.1.2)
mrkt (~> 0.6.0)
sentry-raven (~> 0.15)
sinatra (~> 1.4.6)
unicorn
BUNDLED WITH
1.10.6
1.11.2
......@@ -3,5 +3,14 @@ require 'bundler'
Bundler.require
Dotenv.load(".env.#{ENV['RACK_ENV']}", '.env')
if ENV['RAVEN_DSN']
Raven.configure(true) do |config|
config.dsn = ENV['RAVEN_DSN']
end
use Raven::Rack
end
require './app'
run MarketoTools
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment