Improved error handling.

This commit is contained in:
Martin Edenhofer 2015-08-30 20:28:36 +02:00
parent 42be5dba4f
commit 618a1cb0db

View file

@ -42,7 +42,7 @@ class Ticket::Article < ApplicationModel
def check_message_id_md5
return if !message_id
return if message_id_md5
self.message_id_md5 = Digest::MD5.hexdigest(message_id)
self.message_id_md5 = Digest::MD5.hexdigest(message_id.to_s)
end
class Flag < ApplicationModel