We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721e3c4 commit 4ba0358Copy full SHA for 4ba0358
templates/AngularSpa/ClientApp/app/components/fetchdata/fetchdata.component.ts
@@ -11,7 +11,7 @@ export class FetchDataComponent {
11
constructor(http: Http, @Inject('ORIGIN_URL') originUrl: string) {
12
http.get(originUrl + '/api/SampleData/WeatherForecasts').subscribe(result => {
13
this.forecasts = result.json() as WeatherForecast[];
14
- });
+ }, error => console.error(error));
15
}
16
17
0 commit comments