Improved error handling.

This commit is contained in:
Martin Edenhofer 2016-01-28 20:08:13 +01:00
parent 5a8ba8b1c2
commit 7f86245a4f

View file

@ -284,6 +284,8 @@ class Channel::EmailParser
if result && result[0] && result[0][1]
filename = result[0][1]
end
rescue
Rails.logger.debug 'Unable to get filename'
end
end