forked from mirror/logrus
Remove misleading comment in Airbrake hook
As far as I can tell, exceptions are always sent regardless of what `airbrake.Environment` is set to.
This commit is contained in:
parent
a020ac2471
commit
8ba09b1c21
|
@ -9,7 +9,7 @@ import (
|
||||||
// with the Airbrake API. You must set:
|
// with the Airbrake API. You must set:
|
||||||
// * airbrake.Endpoint
|
// * airbrake.Endpoint
|
||||||
// * airbrake.ApiKey
|
// * airbrake.ApiKey
|
||||||
// * airbrake.Environment (only sends exceptions when set to "production")
|
// * airbrake.Environment
|
||||||
//
|
//
|
||||||
// Before using this hook, to send an error. Entries that trigger an Error,
|
// Before using this hook, to send an error. Entries that trigger an Error,
|
||||||
// Fatal or Panic should now include an "error" field to send to Airbrake.
|
// Fatal or Panic should now include an "error" field to send to Airbrake.
|
||||||
|
|
Loading…
Reference in New Issue