Skip to content
/ dhandler Public

Unhandled errors in an express handler results in an 500er response

License

Notifications You must be signed in to change notification settings

dnode/dhandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Status devDependency Status

Installation

npm i --save dhandler

Initialisation

const dhandler = require('dhandler');

app.get('/', dhandler(async (req, res) => {
  res.send();
}));

About

Unhandled errors in an express handler results in an 500er response

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published