From 8b481e371de969a7257bddaaee398ea321419e59 Mon Sep 17 00:00:00 2001 From: Daisuke Maki Date: Sun, 10 Jul 2016 19:33:05 +0900 Subject: [PATCH] fix import errors --- octav/handlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/octav/handlers.go b/octav/handlers.go index e872367..cc74bc6 100644 --- a/octav/handlers.go +++ b/octav/handlers.go @@ -11,6 +11,7 @@ import ( "github.com/lestrrat/go-apache-logformat" "github.com/lestrrat/go-jsval" "github.com/lestrrat/go-pdebug" + "github.com/pkg/errors" "golang.org/x/net/context" ) @@ -534,7 +535,7 @@ func doCreateSession(ctx context.Context, w http.ResponseWriter, r *http.Request } if err := s.Decorate(tx, &v); err != nil { - httpError(w, `CreateSession`, http.StatusInternalServerError, errors.Wrap(err) + httpError(w, `CreateSession`, http.StatusInternalServerError, errors.Wrap(err)) return }