diff --git a/scripts/typedoc-plugin/src/plugin.ts b/scripts/typedoc-plugin/src/plugin.ts index 26601fd4b9..2a41cfbf11 100644 --- a/scripts/typedoc-plugin/src/plugin.ts +++ b/scripts/typedoc-plugin/src/plugin.ts @@ -291,8 +291,8 @@ export function load (app: Application) { continue; } const printUnableResolve = (iSegment: number) => { - _context.logger.error(`Failed to resolve ${segments[iSegment]} in ${match[0]} ` - + `referenced in ${getLocation()}`); + _context.logger.warn(`Failed to resolve ${segments[iSegment]} in ${match[0]} ` + + `referenced in ${!node ? '' : node.getText()}`); }; let targetReflection = resolveUnqualifiedReflection(segments[0]); if (!targetReflection) {