fix(mixins/Config#get): fix missing entry error message

This commit is contained in:
Julien Fontanet
2021-12-21 17:37:07 +01:00
parent 14a7f00c90
commit aa2b27e22b
2 changed files with 5 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ module.exports = class Config {
get(path) {
const value = get(this._config, path)
if (value === undefined) {
throw new TypeError('missing config entry: ' + value)
throw new TypeError('missing config entry: ' + path)
}
return value
}

View File

@@ -27,3 +27,7 @@
> - major: if the change breaks compatibility
>
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- @xen-orchestra/mixins patch
- @xen-orchestra/proxy patch
- @xen-orchestra/xo-server patch