mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
skip errors in pdf processor
This commit is contained in:
1 parent
c37785ecbc
commit
1b90f77e82
1 file changed
+5
@@ -25,6 +25,11 @@ class PdfProcessor < HexaPDF::Content::Processor
|
||||
@pos += 1
|
||||
end
|
||||
|
||||
@pos = 0
|
||||
@num += 1
|
||||
rescue HexaPDF::Error => e
|
||||
Rails.logger.error(e.message)
|
||||
|
||||
@pos = 0
|
||||
@num += 1
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user