Improved error handling.
This commit is contained in:
parent
5a8ba8b1c2
commit
7f86245a4f
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,8 @@ class Channel::EmailParser
|
||||||
if result && result[0] && result[0][1]
|
if result && result[0] && result[0][1]
|
||||||
filename = result[0][1]
|
filename = result[0][1]
|
||||||
end
|
end
|
||||||
|
rescue
|
||||||
|
Rails.logger.debug 'Unable to get filename'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue