Supported Frameworks

  • Ionic 2
  • Ionic 3
  • Ionic 4 and above

1. Agent Installation

If you want to include Atatus script with your source, you can add it through package managers such as YARN and NPM. Install atatus-spa from the npm or yarn registry:
Import and initialize atatus to monitor your application:
For more advanced options on installing your monitoring code, view customizing agent.

2. Atatus Custom Error Handler

Option 1: Atatus Error Handler for Ionic 4 and above.
Option 2: Atatus Error Hanlder for Ionic 2 and 3.

3. Include Atatus Error Handler

Replace IonicErrorHandler with AtatusErrorHandler in the providers section of @NgModule

4. Optional: Clean path in the custom stack trace

If you want to clean stack frame urls, you can modify as follow us.