diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-05-20 11:48:07 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-05-20 11:48:07 +0200 |
commit | 45efbde5bb37c52d08106450a14ebbd54a23c928 (patch) | |
tree | a5f579548a689518bf799f1efd7b57eeea128c5c /core/src/main/kotlin/Kotlin | |
parent | fd6c34d92b7409d3aedd9416c7b06f9c48fe2631 (diff) | |
download | dokka-45efbde5bb37c52d08106450a14ebbd54a23c928.tar.gz dokka-45efbde5bb37c52d08106450a14ebbd54a23c928.tar.bz2 dokka-45efbde5bb37c52d08106450a14ebbd54a23c928.zip |
Update "Can't find node ..." warning message
Diffstat (limited to 'core/src/main/kotlin/Kotlin')
-rw-r--r-- | core/src/main/kotlin/Kotlin/DeclarationLinkResolver.kt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/src/main/kotlin/Kotlin/DeclarationLinkResolver.kt b/core/src/main/kotlin/Kotlin/DeclarationLinkResolver.kt index c3a84e57..32084eea 100644 --- a/core/src/main/kotlin/Kotlin/DeclarationLinkResolver.kt +++ b/core/src/main/kotlin/Kotlin/DeclarationLinkResolver.kt @@ -34,14 +34,15 @@ class DeclarationLinkResolver val signature = elementSignatureProvider.signature(symbol) val referencedAt = fromDescriptor.signatureWithSourceLocation() - return ContentNodeLazyLink(href, { -> + return ContentNodeLazyLink(href) { -> val target = refGraph.lookup(signature) if (target == null) { - logger.warn("Can't find node by signature `$signature`, referenced at $referencedAt") + logger.warn("Can't find node by signature `$signature`, referenced at $referencedAt. " + + "This is probably caused by invalid configuration of cross-module dependencies") } target - }) + } } if ("/" in href) { return ContentExternalLink(href) |