anytv-node-error-handler
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -26,3 +26,3 @@ 'use strict'; | ||
return res.status(err.statusCode || 400) | ||
return res.status(err.statusCode || 500) | ||
.send({message : error}); | ||
@@ -29,0 +29,0 @@ }; |
{ | ||
"name": "anytv-node-error-handler", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Express error middleware", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package