Fix unprocessable files
This commit is contained in:
parent
3f76aeeb3c
commit
bf2001d39c
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ module PdfDocuments
|
|||
def safe_display(value, &block)
|
||||
return if value.blank?
|
||||
|
||||
yield(value)
|
||||
yield(value) rescue StandardError { nil }
|
||||
end
|
||||
|
||||
def bold(text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue