-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.rb.example
47 lines (36 loc) · 1.12 KB
/
config.rb.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Setting up the loadpath
# =======================
#
$LOAD_PATH.unshift 'lib'
require 'bundler/setup'
require 'app'
# Exceptionist configuration
# ==========================
#
# Configure your MongoDB server and port
Exceptionist.mongo = 'localhost:27017'
# Credentials for accessing the web app, remove if you do auth in another way
Exceptionist.enable_authentication('username', 'password')
# Configure your base url for the report mails
# Exceptionist.config[:base_url] = 'http://www.example.org'
# Configure your mail server for daily reports
# Exceptionist.config[:smtp_settings] = {
# :host => 'mail.example.org',
# :port => 25,
# :user => 'example_user',
# :pass => 'example_password',
# :auth => :login
# }
# Project list
# ============
#
# The list of all the projects you want to have in Exceptionist
#
# * the name needs to be a valid URL slug
# * the key needs to be unique in this list
Exceptionist.add_project 'project-name', 'UNIQUE_API_KEY'
# Aggregator config
# =================
#
# Exceptionist.global_exception_classes << 'Mysql::Error'
# Exceptionist.timeout_exception_classes << 'Patron::TimeoutError'