Skip to content

Commit 8dc17f2

Browse files
authored
修复编译错误
1 parent ed76435 commit 8dc17f2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/memo/auto_extractor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"encoding/json"
66
"hash/fnv"
7+
"errors"
78
"log"
89
"strings"
910
"sync"
@@ -228,7 +229,7 @@ func (a *AutoExtractor) extractAndStore(extractor Extractor, messages []provider
228229
if err != nil {
229230
if errors.Is(err, ErrExtractionNoJSONArray) || errors.Is(err, ErrExtractionIncompleteJSONArray) {
230231
a.logError("memo: auto extract skipped (protocol_mismatch): %v", err)
231-
return
232+
return true
232233
}
233234
a.logError("memo: auto extract failed: %v", err)
234235
return false

0 commit comments

Comments
 (0)