JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//cdn.raygun.io/raygun4js/raygun.min.js"></script>

JavaScript

window.onerror = function (msg, url, linenumber, colnumber, e) {
  Raygun.init("t1bDRwDiZu8ZAmNXnwSGWA==");
  Raygun.setUser("Aleksey");
  Raygun.setVersion("V1");
  Raygun.send(e, {customData:{}}, ["tag"]);
}
//throw exception
test;