- Getting Started
- Managing Stacks
- Manual Stacking
- Filtering & Searching
- Bulk Actions
- Project Settings
- Reference Ids
- User Sessions
- Log Levels
- API Usage
- .NET Client
- Self Hosting
Exceptionless will automatically capture any unhandled errors that are thrown. However, angular errors are sent through an
$exceptionHandler service. To fully integrate with angular we need to add an Exceptionless integration for Angular! Doing so will cause Exceptionless to start collecting unhandled Angular errors, 404s, and $log messages quickly.
- Add the Exceptionless and Angular integrations scripts to you page.
- Finally, import the
exceptionlessAngular module and inside of your app's configure message set the api key and any other settings.
var app = angular.module('myApp', ['exceptionless']);
$ExceptionlessClient.config.apiKey = 'YOUR_API_KEY';
Sample Angular App #
We have built a quick Angular sample app you can play around with.
Run the sample app by following the steps below:
- Install Node.js (this is only required to run the http server)
- Clone or download our repository from GitHub.
- Navigate to the example\angular folder via the command line (e.g., cd example\angular)
- Open app.constants.js in your favorite text editor and set the apiKey and server url. If you are not running a local Exceptionless server, please comment out this line.
- Navigate to http://localhost:8000 in your browser to view the angular app.
- To create an error, click any of the links to load the partial views.
We recommend enabling debug logging by calling
$ExceptionlessClient.config.useDebugLogger();. This will output messages to the console regarding what the client is doing. Please contact us by creating an issue on GitHub if you need assistance or have any feedback for the project.