Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<script src="https://cdn.ravenjs.com/2.1.0/raven.min.js"></script>
-    <script>Raven.config('https://b5d85edf669045ed8adac1d3b44bd080@app.getsentry.com/66762')</script>
<script>
try {
  throw new Error('Catch this')
}  catch (e) {
  Raven.captureException(e)
}
</script>
  
  
<script>
  throw new Error('Do not catch this')
</script>
  
  <!-- this one throws and I want to catch it (my application files for example) -->
<script src="https://gist.githubusercontent.com/henrybaxter/af28cceb30b4bda21a55/raw/4c5f2891bcf3011221b6b6572ffd8fc29eeb042e/throws.js"></script>
  
  <!-- this one throws and I do not want to catch it (third party tracking script for example) -->
 <script src="https://gist.githubusercontent.com/henrybaxter/af28cceb30b4bda21a55/raw/6be8a4aaf03b72e78c95ebb1377bfa4cdd830585/alsothrows.js"></script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
henrybaxterpro
0viewers