1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Change api status code from 500 to 200 in order to display error info in page.

This commit is contained in:
gebitang 2019-08-28 10:38:00 +08:00
parent 16e64b51ff
commit c7cd8f4c63

View file

@ -37,7 +37,7 @@ module.exports = function(options) {
})
.catch(function(err) {
log.error('Unable to read manifest of "%s"', req.params.id, err.stack)
res.status(500)
res.status(200)
.json({
success: false
})