added error notification for scrapy spiders

This commit is contained in:
marvzhang
2020-06-18 12:54:12 +08:00
parent 7551f28b71
commit c4143399e5
7 changed files with 118 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ const request = (method, path, params, data, others = {}) => {
if (response.status === 500) {
Message.error(response.data.error)
}
return e
return response
})
}