mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Change api status code from 500 to 200 in order to display error info in page.
This commit is contained in:
parent
16e64b51ff
commit
c7cd8f4c63
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module.exports = function(options) {
|
||||||
})
|
})
|
||||||
.catch(function(err) {
|
.catch(function(err) {
|
||||||
log.error('Unable to read manifest of "%s"', req.params.id, err.stack)
|
log.error('Unable to read manifest of "%s"', req.params.id, err.stack)
|
||||||
res.status(500)
|
res.status(200)
|
||||||
.json({
|
.json({
|
||||||
success: false
|
success: false
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue