{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/1330","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/1330/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/1330/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/1330/events","html_url":"https://github.com/gulpjs/gulp/issues/1330","id":111971488,"number":1330,"title":"Gulp 4: gulp.series repeats error log","user":{"login":"aparajita","id":22218,"avatar_url":"https://avatars.githubusercontent.com/u/22218?v=3","gravatar_id":"","url":"https://api.github.com/users/aparajita","html_url":"https://github.com/aparajita","followers_url":"https://api.github.com/users/aparajita/followers","following_url":"https://api.github.com/users/aparajita/following{/other_user}","gists_url":"https://api.github.com/users/aparajita/gists{/gist_id}","starred_url":"https://api.github.com/users/aparajita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparajita/subscriptions","organizations_url":"https://api.github.com/users/aparajita/orgs","repos_url":"https://api.github.com/users/aparajita/repos","events_url":"https://api.github.com/users/aparajita/events{/privacy}","received_events_url":"https://api.github.com/users/aparajita/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gulpjs/gulp/labels/gulp-cli","name":"gulp-cli","color":"207de5"},{"url":"https://api.github.com/repos/gulpjs/gulp/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gulpjs/gulp/milestones/3","html_url":"https://github.com/gulpjs/gulp/milestones/gulp-cli%201.1.0","labels_url":"https://api.github.com/repos/gulpjs/gulp/milestones/3/labels","id":1418976,"number":3,"title":"gulp-cli 1.1.0","description":"Features/fixes to tackle for the next gulp-cli release.","creator":{"login":"phated","id":992373,"avatar_url":"https://avatars.githubusercontent.com/u/992373?v=3","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2015-11-18T23:56:11Z","updated_at":"2015-12-19T00:26:24Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-10-17T16:27:17Z","updated_at":"2015-12-19T05:33:32Z","closed_at":null,"body":"When a task within `gulp.series` generates an error, the error is logged twice: once by the task that generated the error, and once by `gulp.series`. Is there some way to suppress this by default?"},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/165949402","html_url":"https://github.com/gulpjs/gulp/issues/1330#issuecomment-165949402","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/1330","id":165949402,"user":{"login":"sttk","id":8656098,"avatar_url":"https://avatars.githubusercontent.com/u/8656098?v=3","gravatar_id":"","url":"https://api.github.com/users/sttk","html_url":"https://github.com/sttk","followers_url":"https://api.github.com/users/sttk/followers","following_url":"https://api.github.com/users/sttk/following{/other_user}","gists_url":"https://api.github.com/users/sttk/gists{/gist_id}","starred_url":"https://api.github.com/users/sttk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttk/subscriptions","organizations_url":"https://api.github.com/users/sttk/orgs","repos_url":"https://api.github.com/users/sttk/repos","events_url":"https://api.github.com/users/sttk/events{/privacy}","received_events_url":"https://api.github.com/users/sttk/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T05:33:32Z","updated_at":"2015-12-19T05:33:32Z","body":"@phated Yes, I don't like the solution in my post above, too.\r\nIf there is another better way, I hope to be adopted it.\r\n\r\nHowever, in now-and-later (next and handler functions in map.js and mapSeries.js), all extension's error processes of upper tasks are called when an error caused.\r\n\r\nAnd the error object is the only object which is shared among tasks.\r\nIf this issue need to be solved, the error object have to be used somehow."}}