aboutsummaryrefslogtreecommitdiff
path: root/cmd/koushin
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/koushin')
-rw-r--r--cmd/koushin/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/koushin/main.go b/cmd/koushin/main.go
index c9df12b..0f6c776 100644
--- a/cmd/koushin/main.go
+++ b/cmd/koushin/main.go
@@ -35,7 +35,8 @@ func main() {
if l, ok := e.Logger.(*log.Logger); ok {
l.SetHeader("${time_rfc3339} ${level}")
}
- if err := koushin.New(e, &options); err != nil {
+ _, err := koushin.New(e, &options)
+ if err != nil {
e.Logger.Fatal(err)
}
e.Use(middleware.Recover())