diff --git a/lib/configurationSchema.js b/lib/configurationSchema.js index 8fc1ee8..5c249f3 100644 --- a/lib/configurationSchema.js +++ b/lib/configurationSchema.js @@ -384,7 +384,7 @@ export function getDefaultConfig() { return Object.entries(SCHEMA.properties).reduce((acc, [k, v]) => { if (typeof v !== `object` || v === null) { throw new Error( - `Expected schema key '${k}' to be an object, but it was of type '${typeof v}'. Got: ${v}`, + `Expected the value at SCHEMA.${k} to be an object, but it was of type '${typeof v}'. Got: ${v}`, ); } if (v.hasOwnProperty('default')) {