Skip to content

Commit 6c12bb7

Browse files
author
zc310.tech
committed
调整 忽略无 PublicRes xml 异常
1 parent d9cfe67 commit 6c12bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/parser/document.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (p *Document) parse(body models.DocBody) error {
135135
p.Res = make(map[models.StID]*models.MultiMedia)
136136
p.FontRes = make(map[models.StID]*models.Font)
137137
if err = p.parsePublicRes(); err != nil {
138-
return err
138+
slog.Error(err.Error())
139139
}
140140
if err = p.parseDocumentRes(); err != nil {
141141
return err

0 commit comments

Comments
 (0)