From 101003424945d1de11adcbbe690c3f26e20a313f Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Sun, 21 Feb 2016 11:42:10 -0500 Subject: [PATCH] docs(http): fix typo: send the server -> send the error Closes #868 --- .../_examples/server-communication/ts/app/toh/hero.service.1.ts | 2 +- .../_examples/server-communication/ts/app/toh/hero.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/_examples/server-communication/ts/app/toh/hero.service.1.ts b/public/docs/_examples/server-communication/ts/app/toh/hero.service.1.ts index b785ee9497..d5734fffc5 100644 --- a/public/docs/_examples/server-communication/ts/app/toh/hero.service.1.ts +++ b/public/docs/_examples/server-communication/ts/app/toh/hero.service.1.ts @@ -34,7 +34,7 @@ export class HeroService { } private handleError (error: any) { - // in a real world app, we may send the server to some remote logging infrastructure + // in a real world app, we may send the error to some remote logging infrastructure // instead of just logging it to the console console.error(error); return Promise.reject(error.message || error.json().error || 'Server error'); diff --git a/public/docs/_examples/server-communication/ts/app/toh/hero.service.ts b/public/docs/_examples/server-communication/ts/app/toh/hero.service.ts index c9a06c233d..7ff9805ac0 100644 --- a/public/docs/_examples/server-communication/ts/app/toh/hero.service.ts +++ b/public/docs/_examples/server-communication/ts/app/toh/hero.service.ts @@ -63,7 +63,7 @@ export class HeroService { // #docregion v1 // #docregion error-handling private handleError (error: Response) { - // in a real world app, we may send the server to some remote logging infrastructure + // in a real world app, we may send the error to some remote logging infrastructure // instead of just logging it to the console console.error(error); return Observable.throw(error.json().error || 'Server error');