mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-30 18:00:56 +01:00
optimized error message
This commit is contained in:
@@ -33,7 +33,7 @@ const errorHandler = (error) => {
|
||||
const errorText = response.data.error
|
||||
const { status } = response
|
||||
Message({
|
||||
message: `请求错误 ${status}: ${response.request.responseURL}. ${errorText}`,
|
||||
message: i18n.t('Request Error') + ` ${status}: ${response.request.responseURL}. ${errorText}`,
|
||||
type: 'error',
|
||||
duration: 5 * 1000
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user