We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c227e commit a99ba9dCopy full SHA for a99ba9d
Readme.md
@@ -48,8 +48,10 @@ const pets = {
48
app.use(_.get('/pets', pets.list));
49
app.use(_.get('/pets/:name', pets.show));
50
51
-app.listen(3000);
52
-console.log('listening on port 3000');
+app.listen(3000, (err) => {
+ if (err) console.error(err.stack);
53
+ else console.log('listening on port 3000');
54
+});
55
```
56
57
## License
0 commit comments