diff options
author | Eugene Petrenko <eugene.petrenko@jetbrains.com> | 2018-09-13 11:46:30 +0300 |
---|---|---|
committer | Eugene Petrenko <eugene.petrenko@jetbrains.com> | 2018-09-13 11:46:30 +0300 |
commit | d7791c49635fb966b089e77052617ba71f65792e (patch) | |
tree | 669f64ac5eb7231447a3337f9e4c5b26e1c46b14 /core | |
parent | 4c2f77cbcf5b97ac4c46380b318958a51fed1027 (diff) | |
download | dokka-d7791c49635fb966b089e77052617ba71f65792e.tar.gz dokka-d7791c49635fb966b089e77052617ba71f65792e.tar.bz2 dokka-d7791c49635fb966b089e77052617ba71f65792e.zip |
add more debug info in error message
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/Generation/DocumentationMerger.kt | 2 |
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 |