Skip to content

Commit cbc83e8

Browse files
committed
Only show error code, note hostname,
1 parent 30d60ec commit cbc83e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/http_upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = function(grunt) {
6060
multipart: true,
6161
data: reqData
6262
}).on('error',function(e){
63-
grunt.fail.warn('Failed Uploading: ' + hostNames[i] + "\n" + e.message);
63+
grunt.fail.warn('Failed uploading (error code: ' + e.message + ')');
6464
}).on('complete', function(data, response) {
6565
if (response !== null && response.statusCode >= 200 && response.statusCode < 300) {
6666
grunt.log.ok('Upload successful of "' + filepath + '" as "' + field + '" - ' + options.method + ' @ ' + options.url);

0 commit comments

Comments
 (0)