From 00b856378f60a763f4669370ee2533dbef2dfa42 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Wed, 13 Dec 2017 23:37:18 +0200 Subject: [PATCH] doc: fix typo in anatomy-of-an-http-transaction The response error handler in the code example uses `console.error()`, so the note should mention `stderr`, not `stdout`. --- locale/en/docs/guides/anatomy-of-an-http-transaction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/en/docs/guides/anatomy-of-an-http-transaction.md b/locale/en/docs/guides/anatomy-of-an-http-transaction.md index 96a088f298b65..289514b9c5537 100644 --- a/locale/en/docs/guides/anatomy-of-an-http-transaction.md +++ b/locale/en/docs/guides/anatomy-of-an-http-transaction.md @@ -363,7 +363,7 @@ though, we'd want to inspect the error to figure out what the correct status cod and message would be. As usual with errors, you should consult the [`Error` documentation][]. -On the response, we'll just log the error to `stdout`. +On the response, we'll just log the error to `stderr`. ```javascript const http = require('http');