From 8ba09b1c210af82fae955c933e1c0a6ff73198dc Mon Sep 17 00:00:00 2001 From: Matt Bostock Date: Fri, 6 Mar 2015 16:32:18 +0000 Subject: [PATCH] Remove misleading comment in Airbrake hook As far as I can tell, exceptions are always sent regardless of what `airbrake.Environment` is set to. --- hooks/airbrake/airbrake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/airbrake/airbrake.go b/hooks/airbrake/airbrake.go index 880d21e..75f4db1 100644 --- a/hooks/airbrake/airbrake.go +++ b/hooks/airbrake/airbrake.go @@ -9,7 +9,7 @@ import ( // with the Airbrake API. You must set: // * airbrake.Endpoint // * 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, // Fatal or Panic should now include an "error" field to send to Airbrake.