1
0
Fork 0

오타수정 2

This commit is contained in:
Sangbum Kim 2017-09-12 21:46:36 +09:00
parent 4de0ddf025
commit abe19350f5
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import (
"time" "time"
"strconv" "strconv"
"runtime/debug" "runtime/debug"
"github.com/sirupsen/logrus"
) )
var ( var (
@ -47,7 +46,7 @@ func (m *influxMetric) StartLogging() {
defer func() { defer func() {
if err := recover(); err != nil { if err := recover(); err != nil {
logrus.Errorf("ERR:%s",debug.Stack()) influxLogger.Errorf("ERR:%s", debug.Stack())
m.handler.NotifyError(err.(error)) m.handler.NotifyError(err.(error))
} }
}() }()