From f811ea43df7b509bfafb8d708a07257a307bfe83 Mon Sep 17 00:00:00 2001 From: Austin Riendeau Date: Tue, 6 Oct 2015 14:24:51 -0600 Subject: [PATCH] hook.go matches their gopkg.in/gemnasium/logrus-airbrake-hook.v2 now --- examples/hook/hook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hook/hook.go b/examples/hook/hook.go index 4e30c7d..3187f6d 100644 --- a/examples/hook/hook.go +++ b/examples/hook/hook.go @@ -2,14 +2,14 @@ package main import ( "github.com/Sirupsen/logrus" - "github.com/gemnasium/logrus-airbrake-hook" + "gopkg.in/gemnasium/logrus-airbrake-hook.v2" ) var log = logrus.New() func init() { log.Formatter = new(logrus.TextFormatter) // default - log.Hooks.Add(airbrake.NewHook("https://example.com", "xyz", "development")) + log.Hooks.Add(airbrake.NewHook(123, "xyz", "development")) } func main() {