diff --git a/src/index.js b/src/index.js index 2f52e3d..8d49b70 100644 --- a/src/index.js +++ b/src/index.js @@ -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) })); } });