Commit 92feea6f authored by Adrian's avatar Adrian
Browse files

Merge branch 'master' of gitlab.agetic.gob.bo:dbarra/sitio-firebase

parents 0c9d3687 864ff2f0
......@@ -130,12 +130,12 @@ app.post ('/send', AuthorizationMiddleware, async function (req, res) {
console.log('____________________________________________________________________________________________________ERROR_RESPONSE_');
console.log(error.response.data);
console.log('¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯_ERROR_RESPONSE_');
mensajeError(res, error.response.data);
mensajeError(res, error.response.data, 400);
} else {
console.log('___________________________________________________________________________________________________ERROR_MESSAGE_');
console.log(error.message);
console.log('¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ERROR_MESSAGE_');
mensajeError(res, error.message, 401);
mensajeError(res, error.message, 400);
}
}
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment