Sunday, 16 April 2017

should i have to use error method in every callback function in express?

here is my code for my express application

app.listen(port, function(){console.log("Connected "+port);})

But when start server it shows error as "Unhandled 'error' event" at event.js:163 How to resolve it? should i have to use error as parameter on every callback function?



via Jana

No comments:

Post a Comment