오타수정 2
This commit is contained in:
parent
4de0ddf025
commit
abe19350f5
|
@ -8,7 +8,6 @@ import (
|
|||
"time"
|
||||
"strconv"
|
||||
"runtime/debug"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -47,7 +46,7 @@ func (m *influxMetric) StartLogging() {
|
|||
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
logrus.Errorf("ERR:%s",debug.Stack())
|
||||
influxLogger.Errorf("ERR:%s", debug.Stack())
|
||||
m.handler.NotifyError(err.(error))
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue