We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471f47a commit b026f34Copy full SHA for b026f34
backend/impls/logruslog/init.go
@@ -24,7 +24,6 @@ import (
24
"time"
25
26
"github.com/apache/incubator-devlake/core/config"
27
- "github.com/apache/incubator-devlake/core/errors"
28
"github.com/apache/incubator-devlake/core/log"
29
"github.com/sirupsen/logrus"
30
)
@@ -75,8 +74,7 @@ func init() {
75
74
panic(err)
76
}
77
basePath = filepath.Join(abs, "devlake.log")
78
- var err errors.Error
79
- Global, err = NewDefaultLogger(inner)
+ Global, err := NewDefaultLogger(inner)
80
if err != nil {
81
82
0 commit comments