mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
added error notification for scrapy spiders
This commit is contained in:
@@ -45,7 +45,7 @@ const request = (method, path, params, data, others = {}) => {
|
||||
if (response.status === 500) {
|
||||
Message.error(response.data.error)
|
||||
}
|
||||
return e
|
||||
return response
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user