error log trace file
This commit is contained in:
parent
7f969998cd
commit
227abeec4e
2
main.go
2
main.go
@ -713,7 +713,7 @@ func (s *DB) AddError(err error) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if err != ErrRecordNotFound {
|
if err != ErrRecordNotFound {
|
||||||
if s.logMode == 0 {
|
if s.logMode == 0 {
|
||||||
go s.print(fileWithLineNum(), err)
|
go s.print("error", fileWithLineNum(), err)
|
||||||
} else {
|
} else {
|
||||||
s.log(err)
|
s.log(err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user