remove log
This commit is contained in:
committed by
Oleksandr Turchyn
parent
2598962c5b
commit
dc24df0d4c
@@ -97,11 +97,9 @@ module Templates
|
|||||||
pdf.write(io, incremental: false, validate: false)
|
pdf.write(io, incremental: false, validate: false)
|
||||||
|
|
||||||
io.string
|
io.string
|
||||||
rescue StandardError => e
|
rescue StandardError
|
||||||
raise if Rails.env.development?
|
raise if Rails.env.development?
|
||||||
|
|
||||||
Rollbar.error(e) if defined?(Rollbar)
|
|
||||||
|
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user