Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: fix variable shadowing in domain.md
Fixed basing on the previous example.
  • Loading branch information
vsemozhetbyt committed Feb 1, 2017
commit bfef75b76ec2da2b5eb44dc9a5ee8c224258b55a
4 changes: 2 additions & 2 deletions doc/api/domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ serverDomain.run(() => {
try {
res.writeHead(500);
res.end('Error occurred, sorry.');
} catch (er) {
console.error('Error sending 500', er, req.url);
} catch (er2) {
console.error('Error sending 500', er2, req.url);
}
});
}).listen(1337);
Expand Down