We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b90043 commit dcde1b4Copy full SHA for dcde1b4
1 file changed
lib/ionic.js
@@ -610,7 +610,12 @@ Ionic = {
610
return;
611
}
612
if(res.statusCode !== 200) {
613
- console.error('Invalid response status:'.error.bold, archiveUrl, '(' + res.statusCode + ')');
+ if(res.statusCode === 404 || res.statusCode === 406) {
614
+ console.error('Not found:'.error.bold, archiveUrl, '(' + res.statusCode + ')');
615
+ console.error('Please verify the url and try again.'.error.bold);
616
+ } else {
617
+ console.error('Invalid response status:'.error.bold, archiveUrl, '(' + res.statusCode + ')');
618
+ }
619
q.reject(res);
620
621
0 commit comments