mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 23:52:32 -05:00
remove log
This commit is contained in:
1 parent
38674a9fc9
commit
21138c1d02
1 file changed
-4
@@ -809,12 +809,8 @@ module Submissions
|
|||||||
data = cache[attachment.uuid]
|
data = cache[attachment.uuid]
|
||||||
|
|
||||||
if ICO_REGEXP.match?(attachment.content_type)
|
if ICO_REGEXP.match?(attachment.content_type)
|
||||||
Rollbar.error("Load ICO: #{attachment.uuid}") if defined?(Rollbar)
|
|
||||||
|
|
||||||
LoadIco.call(data)
|
LoadIco.call(data)
|
||||||
elsif BMP_REGEXP.match?(attachment.content_type)
|
elsif BMP_REGEXP.match?(attachment.content_type)
|
||||||
Rollbar.error("Load BMP: #{attachment.uuid}") if defined?(Rollbar)
|
|
||||||
|
|
||||||
LoadBmp.call(data)
|
LoadBmp.call(data)
|
||||||
else
|
else
|
||||||
Vips::Image.new_from_buffer(data, '')
|
Vips::Image.new_from_buffer(data, '')
|
||||||
|
|||||||
Reference in new issue
Block a user