Skip to content

Commit 0d78600

Browse files
vsemozhetbytevanlucas
authored andcommitted
doc: fix typo in anatomy-of-an-http-transaction (#1518)
The response error handler in the code example uses `console.error()`, so the note should mention `stderr`, not `stdout`.
1 parent 126882f commit 0d78600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/en/docs/guides/anatomy-of-an-http-transaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ though, we'd want to inspect the error to figure out what the correct status cod
363363
and message would be. As usual with errors, you should consult the
364364
[`Error` documentation][].
365365

366-
On the response, we'll just log the error to `stdout`.
366+
On the response, we'll just log the error to `stderr`.
367367

368368
```javascript
369369
const http = require('http');

0 commit comments

Comments
 (0)