import { NgModule , ErrorHandler , Injectable } from '@angular/core' ; @ Injectable ( ) export class SentryErrorHandler implements ErrorHandler { constructor ( ) { } handleError ( error ) { throw error ; } }