This commit is contained in:
2026-01-12 13:20:17 +08:00
parent ead5f17b7c
commit 68a9e32131
5 changed files with 86 additions and 64 deletions

View File

@@ -15,7 +15,7 @@ func convertTianYanChaError(err error) error {
// 检查天眼查服务的错误类型,转换为处理器层的标准错误
if errors.Is(err, tianyancha.ErrNotFound) {
return errors.Join(processors.ErrNotFound, err)
return nil
}
if errors.Is(err, tianyancha.ErrDatasource) {
return errors.Join(processors.ErrDatasource, err)