aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorEugene Petrenko <eugene.petrenko@jetbrains.com>2018-09-13 11:46:30 +0300
committerEugene Petrenko <eugene.petrenko@jetbrains.com>2018-09-13 11:46:30 +0300
commitd7791c49635fb966b089e77052617ba71f65792e (patch)
tree669f64ac5eb7231447a3337f9e4c5b26e1c46b14 /core/src
parent4c2f77cbcf5b97ac4c46380b318958a51fed1027 (diff)
downloaddokka-d7791c49635fb966b089e77052617ba71f65792e.tar.gz
dokka-d7791c49635fb966b089e77052617ba71f65792e.tar.bz2
dokka-d7791c49635fb966b089e77052617ba71f65792e.zip
add more debug info in error message
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/Generation/DocumentationMerger.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Generation/DocumentationMerger.kt b/core/src/main/kotlin/Generation/DocumentationMerger.kt
index 0394dce2..a464ead6 100644
--- a/core/src/main/kotlin/Generation/DocumentationMerger.kt
+++ b/core/src/main/kotlin/Generation/DocumentationMerger.kt
@@ -11,7 +11,7 @@ class DocumentationMerger(
init {
if (documentationModules.groupBy { it.name }.size > 1) {
- throw IllegalArgumentException("Modules should have similar names")
+ throw IllegalArgumentException("Modules should have similar names: ${documentationModules.joinToString(", ") {it.name}}")
}
signatureMap = documentationModules