We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3fe907 commit 015842fCopy full SHA for 015842f
doc/api/http2.md
@@ -43,7 +43,7 @@ let http2;
43
try {
44
http2 = require('node:http2');
45
} catch (err) {
46
- console.log('http2 support is disabled!');
+ console.error('http2 support is disabled!');
47
}
48
```
49
@@ -61,7 +61,7 @@ let http2;
61
62
http2 = await import('node:http2');
63
64
65
66
67
@@ -1850,7 +1850,7 @@ server.on('stream', (stream) => {
1850
1851
1852
// Perform actual error handling.
1853
- console.log(err);
+ console.error(err);
1854
1855
stream.end();
1856
0 commit comments