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)
|
def safe_display(value, &block)
|
||||||
return if value.blank?
|
return if value.blank?
|
||||||
|
|
||||||
yield(value)
|
yield(value) rescue StandardError { nil }
|
||||||
end
|
end
|
||||||
|
|
||||||
def bold(text)
|
def bold(text)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue