Skip to content

StackSentinel/stacksentinel-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

JavaScript integration with Stack Sentinel

To get started with StackSentinel and JavaScript, simply import our library from our servers and include your app's code in a try/catch blog. It's easy:

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
  <script src="https://distrib.stacksentinel.com/distrib/StackSentinel.js"></script>
  <script>
      var tags = [];
      var client = new StackSentinelClient(
              "YOUR PROJECT TOKEN",
              "YOUR ACCOUNT TOKEN",
              "development",
              tags
      );
  
      try {
          alert(foo.bar);
      } catch(e) {
           client.handleException(e);
      }
  </script>

About

JavaScript integration with Stack Sentinel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published