Add context to "unexpected unknown property" error log

This commit is contained in:
joeduffy 2017-10-23 15:31:01 -07:00
parent 236fd6bf76
commit 680e73bb97

View file

@ -177,7 +177,7 @@ async function serializeProperty(prop: any, ctx?: string): Promise<any> {
log.debug(`Serialize property [${ctx}]: undefined`);
}
if (!options.dryRun) {
log.error(`Unexpected unknown property during deployment`);
log.error(`Unexpected unknown property [${ctx}] during deployment`);
}
return unknownComputedValue;
}