Skip to content
jmoeltjen edited this page Jul 8, 2015 · 2 revisions

Exceptionless JavaScript Client Example / Sample

We have put together an example for the JavaScript client that you can use to get an idea of how everything works. It is available on the GitHub Repo.

To Get the Example Running…

  1. Clone or download the GitHub Repo
  2. Edit the HTML file in the root example folder and replace the existing API Key with yours. Also, comment out the serverUrl.
  3. Open the HTML file in your browser
  4. Open the console so that you can see the debug messages that the example generates
  5. Click the buttons on the page to submit an event

Troubleshooting

Calling client.config.useDebugLogger(); to enable debug logging is recommend and will output messages to the console regarding what the client is doing. Please contact us by creating an issue on GitHub if you need help or have any feedback regarding the JavaScript client.