1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-03-09 23:38:54 +00:00

Improve user messaging

This commit is contained in:
Mumshad Mannambeth 2017-07-20 11:26:39 -04:00
parent 4458805e3a
commit 09d5b7afd1
2 changed files with 8 additions and 1 deletions

View file

@ -66,7 +66,7 @@ function handleError(res, statusCode) {
statusCode = statusCode || 500;
return function(err) {
logger.error("Error = " + err);
res.status(statusCode).send(err);
res.status(statusCode).send("Error = " + err);
};
}