Skip to content
Snippets Groups Projects
Commit cc836914 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Prevent app crash in case if encoding failed

parent 1b2068ea
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,6 +11,10 @@ module Gitlabhq
else
message
end.force_encoding("utf-8")
# Prevent app from crash cause of
# encoding errors
rescue
""
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment