diff --git a/app/views/static/error.html.erb b/app/views/static/error.html.erb index 6d09563e7..5a06cb8e9 100644 --- a/app/views/static/error.html.erb +++ b/app/views/static/error.html.erb @@ -1,7 +1,7 @@ <% if CurrentUser.user.is_builder? && @exception.present? %>
<%= @error_message %>
<% else %> -<%= @exception.message.force_encoding("utf-8") %>
+<%= @exception.message.dup.force_encoding("utf-8") %>
<% end %>