diff --git a/aio/content/examples/http/src/app/config/config.service.ts b/aio/content/examples/http/src/app/config/config.service.ts index 4905fd4d58..bc9bf101f3 100644 --- a/aio/content/examples/http/src/app/config/config.service.ts +++ b/aio/content/examples/http/src/app/config/config.service.ts @@ -79,8 +79,7 @@ export class ConfigService { // The backend returned an unsuccessful response code. // The response body may contain clues as to what went wrong. console.error( - `Backend returned code ${error.status}, ` + - `body was: ${error.error}`); + `Backend returned code ${error.status}, body was: `, error.error); } // Return an observable with a user-facing error message. return throwError(