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:
parent
4458805e3a
commit
09d5b7afd1
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue