Errorbot

Instant Javascript debugging on the go.
We’ve spent years debugging Javascript. And if it wasn’t for Errorbot you could be doing the same. Never miss a client-side application error.

Same as with Uptime you can setup Errorbot to report to any of your favourite channels.

Errorbot has a default history of 90 days accessible via your RELAX Tools dashboard. Do contact us if you have other requirements.

Install

This is how you will include the Error Bot on a website.

<script type="text/javascript" id="relaxtools-errorbot" src="https://cdn.relax.tools/scripts/v1/errorbot.js" api-key="{API-KEY}" crossorigin></script>

Include the script before any scripts tag that you want to catch errors from.

 

You can then test in your browsers dev-tools console:

RELAXTools.errorBotInstance.reportError({message: "Error test"});

 

 

CORS

 

If you have your application code hosted on a different domain like a CDN, then you need to add the crossorigin attribute to that script tag, also adding the CORS header "Access-Control-Allow-Origin: cdn.relax.tools" to the CDN server will make sure that errors are reported without being tainted by CORS-data.

If these CORS rules are not implemented then the Errors reported will be tainted by CORS-data resulting in cryptic error reports; "Script Error."

 

 

How to setup

 

Uptime

Uptime

This tool is called uptime - but honestly it won’t be of much value until your site is down

Learn more
Add credits

IP Location

IP Location

Plug'n'play get-User Location

Learn more
Add credits

Country List

Country List

Up2date country list

Learn more
Add credits