Permalink
Browse files

rescue charlockholmes failure

  • Loading branch information...
1 parent e3a6601 commit 870410d7607c63e0a5c549674e178243c8bbd859 @kratob kratob committed May 7, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/gitlabhq/encode.rb
View
2 lib/gitlabhq/encode.rb
@@ -9,6 +9,8 @@ def utf8 message
else
message
end.force_encoding("utf-8")
+ rescue
+ message.force_encoding("utf-8")
end
end
end

0 comments on commit 870410d

Please sign in to comment.