diff --git a/Gemfile.lock b/Gemfile.lock
index 1db7969fb28..2782bf77ff5 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -152,7 +152,7 @@ GEM
thor (~> 0.15)
libv8 (3.16.14.3)
listen (0.7.3)
- logster (0.0.9)
+ logster (0.0.10)
lru_redux (0.8.1)
mail (2.5.4)
mime-types (~> 1.16)
diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb
index 55545fdcea5..a15b6090ee3 100644
--- a/app/controllers/forums_controller.rb
+++ b/app/controllers/forums_controller.rb
@@ -1,6 +1,6 @@
class ForumsController < ApplicationController
- skip_before_filter :check_xhr, only: [:status]
+ skip_before_filter :check_xhr
skip_before_filter :authorize_mini_profiler, only: [:status]
skip_before_filter :redirect_to_login_if_required, only: [:status]
diff --git a/app/views/common/_discourse_javascript.html.erb b/app/views/common/_discourse_javascript.html.erb
index 10174348ffb..060783800b1 100644
--- a/app/views/common/_discourse_javascript.html.erb
+++ b/app/views/common/_discourse_javascript.html.erb
@@ -11,10 +11,9 @@
})();
-<% if Rails.env.development? %>
-
-<% end %>
+ <% end %>
+ window.onerror(e && e.message, null,null,null,e);
+ });
+