Skip to content

Commit

Permalink
Make errors less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Apr 3, 2019
1 parent d84cb73 commit 69fbeed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const ms = require('ms')
// Throw a Gulp error
const getError = function({ error, input, opts }) {
const message = getErrorMessage({ error, input, opts })
const errorA = new PluginError('gulp-execa', message)
const errorA = new PluginError('gulp-execa', message, {
showProperties: false,
})
// Keep `execa` error properties
// eslint-disable-next-line fp/no-mutating-assign
Object.assign(errorA, error)
Expand Down

0 comments on commit 69fbeed

Please sign in to comment.