From 7df693343529d5a1a31921d4ff67977d329ddcb7 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 30 Nov 2017 15:41:51 +0100 Subject: [PATCH] MOBILE-2253 core: Disable Ionic errors --- src/app/app.module.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index b6f4a6ed4..1665f3fd6 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -13,8 +13,8 @@ // limitations under the License. import { BrowserModule } from '@angular/platform-browser'; -import { ErrorHandler, NgModule } from '@angular/core'; -import { IonicApp, IonicErrorHandler, IonicModule, Platform } from 'ionic-angular'; +import { NgModule } from '@angular/core'; +import { IonicApp, IonicModule, Platform } from 'ionic-angular'; import { HttpClient, HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { SplashScreen } from '@ionic-native/splash-screen'; @@ -90,7 +90,6 @@ export function createTranslateLoader(http: HttpClient) { SplashScreen, SQLite, Keyboard, - {provide: ErrorHandler, useClass: IonicErrorHandler}, CoreLoggerProvider, CoreDbProvider, CoreAppProvider,