From c03000e1c9d9767419b9ef609f4abf13cddf582f Mon Sep 17 00:00:00 2001 From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com> Date: Tue, 24 Nov 2020 15:14:46 +0100 Subject: [PATCH] fix: build issue on throw error --- src/app/home/home.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index b2e80e6b8..a71478e49 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -135,7 +135,9 @@ export class HomeComponent implements OnInit { (location) => { this.currentLocation = location; }, - (err) => error(err) + (err) => { + throw new Error(err); + } ); } -- GitLab