{"record":{"id":"a921efc53a755718","repo":"fish2018/pansou","slug":"s-a921ef","errorCode":null,"errorMessage":"[%s] 未找到相关结果","messagePattern":"\\[(.+?)\\] 未找到相关结果","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugin/mikuclub/mikuclub.go","lineNumber":175,"sourceCode":"\t\t\tif firstErr == nil {\n\t\t\t\tfirstErr = res.err\n\t\t\t}\n\t\t\tcontinue\n\t\t}\n\t\tfor _, post := range res.posts {\n\t\t\tif _, exists := seenPosts[post.ID]; exists {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tseenPosts[post.ID] = post\n\t\t\tallPosts = append(allPosts, post)\n\t\t}\n\t}\n\n\tif len(allPosts) == 0 {\n\t\tif firstErr != nil {\n\t\t\treturn nil, firstErr\n\t\t}\n\t\treturn nil, fmt.Errorf(\"[%s] 未找到相关结果\", p.Name())\n\t}\n\n\tvar (\n\t\tresults []model.SearchResult\n\t\tdwg     sync.WaitGroup\n\t\tmu      sync.Mutex\n\t\tsem     = make(chan struct{}, maxConcurrency)\n\t)\n\n\tfor _, post := range allPosts {\n\t\tpost := post\n\t\tdwg.Add(1)\n\t\tsem <- struct{}{}\n\t\tgo func() {\n\t\t\tdefer dwg.Done()\n\t\t\tdefer func() { <-sem }()\n\n\t\t\tlinks := p.fetchDetailLinks(client, post.ID, post.PostHref)","sourceCodeStart":157,"sourceCodeEnd":193,"githubUrl":"https://github.com/fish2018/pansou/blob/beaa56133755a548ebc51b090b3816e2ae044aa6/plugin/mikuclub/mikuclub.go#L157-L193","documentation":"No-results error in mikuclub's searchImpl (plugin/mikuclub/mikuclub.go:175): all category fetches completed but zero unique posts were collected. If any category errored, that first error is returned instead; this sentinel fires only when everything succeeded yet found nothing.","triggerScenarios":"Thrown at plugin/mikuclub/mikuclub.go:175 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["放宽关键词匹配规则","该场景返回空列表而非错误，避免上层误判为插件故障","结合 firstErr 优先返回真实失败原因"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"beaa56133755a548ebc51b090b3816e2ae044aa6","analyzedAt":"2026-09-07T00:31:18.025Z","contentChangedAt":"2026-09-07T00:31:18.025Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}