Skip to content

Commit

Permalink
fix(twconf): fixed incorrect EError.wrap using
Browse files Browse the repository at this point in the history
  • Loading branch information
CheerlessCloud committed Apr 10, 2018
1 parent 7e5faac commit 28946ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class TwConf {
configField.splitter(validatedValue, key, this.env)
.forEach((newValue, newKey) => this.config.set(newKey, newValue));
} catch (err) {
errors.push(EError.wrap(err).combine({ configField, key, value: this.env.get(key) }));
errors.push(EError.wrap(err, { configField, key, value: this.env.get(key) }));
}
});

Expand Down

0 comments on commit 28946ce

Please sign in to comment.