Skip to content
Snippets Groups Projects
Commit c03000e1 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: build issue on throw error

parent 45108393
Branches
Tags
1 merge request!31Recette
...@@ -135,7 +135,9 @@ export class HomeComponent implements OnInit { ...@@ -135,7 +135,9 @@ export class HomeComponent implements OnInit {
(location) => { (location) => {
this.currentLocation = location; this.currentLocation = location;
}, },
(err) => error(err) (err) => {
throw new Error(err);
}
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment