diff --git a/app/views/static/error.html.erb b/app/views/static/error.html.erb index 5a06cb8e9..ae6df8f9f 100644 --- a/app/views/static/error.html.erb +++ b/app/views/static/error.html.erb @@ -1,4 +1,4 @@ -<% if CurrentUser.user.is_builder? && @exception.present? %> +<% if CurrentUser.user.try(:is_builder?) && @exception.present? %>