mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 14:53:24 +02:00
Change api status code from 500 to 200 in order to display error info in page.
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user