sentry sample error

by markstory

HTML

<script src="https://cdn.ravenjs.com/3.26.4/raven.min.js"></script>

JavaScript

Raven.config('http://[email protected]/11')
.install();

try {
  throw new Error('awww crap');
} catch(e) {
  Raven.captureException(e);
  alert(e);
}