diff --git a/lib/ErrorHandler.js b/lib/ErrorHandler.js
index <HASH>..<HASH> 100644
--- a/lib/ErrorHandler.js
+++ b/lib/ErrorHandler.js
@@ -1,7 +1,8 @@
 module.exports = (error, req, res, next) => {
     const details = reason(error);
+    console.error(details);
 
-    if (error.code && error.code >= 300 && error.code <= 500)
+    if (error.code)
         return res.status(error.code).send(details);
 
     if (process.env.NODE_ENV !== 'production') {
fixed error handler where standard wasn't use properly