mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 18:46:50 +08:00
15 lines
391 B
Plaintext
15 lines
391 B
Plaintext
|
# Internally Dicourse uses Errbit for error logging,
|
||
|
# you can to by setting up an instance and amending this file
|
||
|
|
||
|
Airbrake.configure do |config|
|
||
|
config.api_key = 'YOUR API KEY'
|
||
|
config.host = 'errors.example.com'
|
||
|
config.port = 80
|
||
|
config.secure = config.port == 443
|
||
|
|
||
|
|
||
|
# IP Spoof errors can be ignored
|
||
|
config.ignore << "ActionDispatch::RemoteIp::IpSpoofAttackError"
|
||
|
end
|
||
|
|