Commit 770f18ac authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Prevent Application from crash cause of charloc_cholmes error

parent b603e0dc
...@@ -11,6 +11,9 @@ end ...@@ -11,6 +11,9 @@ end
Grit::GitRuby::Internal::RawObject.class_eval do Grit::GitRuby::Internal::RawObject.class_eval do
def content def content
transcoding(@content) transcoding(@content)
rescue Exception => ex
Rails.logger.error ex.message
@content
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment