There was an error while loading. Please reload this page.
1 parent 30d60ec commit cbc83e8Copy full SHA for cbc83e8
tasks/http_upload.js
@@ -60,7 +60,7 @@ module.exports = function(grunt) {
60
multipart: true,
61
data: reqData
62
}).on('error',function(e){
63
- grunt.fail.warn('Failed Uploading: ' + hostNames[i] + "\n" + e.message);
+ grunt.fail.warn('Failed uploading (error code: ' + e.message + ')');
64
}).on('complete', function(data, response) {
65
if (response !== null && response.statusCode >= 200 && response.statusCode < 300) {
66
grunt.log.ok('Upload successful of "' + filepath + '" as "' + field + '" - ' + options.method + ' @ ' + options.url);
0 commit comments