Permalink
Browse files

Switch from rollbar to bugsnag for JS error reporting

  • Loading branch information...
cheeaun committed Jun 10, 2014
1 parent c9ecbbf commit 26ac33eb5829d82ab7d5bc11902482212ace59c2
Showing with 1 addition and 12 deletions.
  1. +1 −12 index.html
@@ -24,6 +24,7 @@
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/kmoebclbglclobmahimdaniikogclifn">
<script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js" data-apikey="37e227db7c88af3576c11f86cba0cc02"></script>
<script>
if (location.hostname == 'cheeaun.github.io'){
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@@ -33,18 +34,6 @@
ga('create', 'UA-23235796-4', 'cheeaun.github.io');
ga('send', 'pageview');
var _rollbarParams = {
"server.environment": "production",
"client.javascript.source_map_enabled": true,
"client.javascript.guess_uncaught_frames": true
};
_rollbarParams["notifier.snippet_version"] = "2";
var _rollbar=["d34791fd62784f70920774893c1c6323", _rollbarParams];
var _ratchet=_rollbar;
(function(w,d){w.onerror=function(e,u,l){_rollbar.push({_t:'uncaught',e:e,u:u,l:l});};var i=function(){var s=d.createElement("script");var
f=d.getElementsByTagName("script")[0];s.src="//d37gvrvc0wt4s1.cloudfront.net/js/1/rollbar.min.js";s.async=!0;
f.parentNode.insertBefore(s,f);};if(w.addEventListener){w.addEventListener("load",i,!1);}else{w.attachEvent("onload",i);}})(window,document);
}
</script>
</head>

0 comments on commit 26ac33e

Please sign in to comment.