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:
Matt Bostock 2015-03-06 16:32:18 +00:00
parent a020ac2471
commit 8ba09b1c21
1 changed files with 1 additions and 1 deletions

View File

@ -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.