http err 400

This commit is contained in:
v 2018-11-22 18:24:35 +03:00
parent 4b842a8b41
commit dae82fcadb

View File

@ -360,7 +360,7 @@ class WikiItem {
}
)
.catch( error => {
if ( ! command.downloadErrors || error.options.external || error.statusCode == 404 ) {
if ( ! command.downloadErrors || error.options.external || error.statusCode == 404 || error.statusCode == 400 ) {
return Promise.reject( error )
}
fatal( 'Fatal load error' )