Skip to content
Snippets Groups Projects
Unverified Commit 6c8445a6 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

mute resize observer error

parent 785cdac7
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,11 @@
apiKey: "<%= j ENV['BUGSNAG_JAVASCRIPT_KEY'] %>",
releaseStage: "<%= j ENV['APPLICATION_ENV'] %>"
});
Bugsnag.addOnError(function (event) {
if (event.originalError === 'ResizeObserver loop limit exceeded') {
return false;
}
});
<% if user_signed_in? %>
Bugsnag.setUser("<%= j current_user.id %>", "<%= j current_user.email %>", "<%= j current_user.to_s %>");
<% 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