hooks/airbrake: fix docs

This commit is contained in:
Simon Eskildsen 2014-05-03 20:32:21 -04:00
parent f8afa65d86
commit b65435d801
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ import (
// * airbrake.ApiKey
// * airbrake.Environment (only sends exceptions when set to "production")
//
// Before using this hook, to send exceptions. Entries that trigger an Error,
// Fatal or Panic should now include an "Error" field to send to Airbrake.
// 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.
type AirbrakeHook struct{}
func (hook *AirbrakeHook) Fire(entry *logrus.Entry) error {