diff options
Diffstat (limited to 'core/src/main/kotlin/renderers/FileWriter.kt')
-rw-r--r-- | core/src/main/kotlin/renderers/FileWriter.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/kotlin/renderers/FileWriter.kt b/core/src/main/kotlin/renderers/FileWriter.kt index 3cb3b5b5..78cfdde7 100644 --- a/core/src/main/kotlin/renderers/FileWriter.kt +++ b/core/src/main/kotlin/renderers/FileWriter.kt @@ -18,11 +18,10 @@ class FileWriter(val context: DokkaContext, override val extension: String): Out createdFiles.add(path) try { -// println("Writing $root/$path$ext") val dir = Paths.get(root, path.dropLastWhile { it != '/' }).toFile() dir.mkdirsOrFail() Files.write(Paths.get(root, "$path$ext"), text.lines()) - } catch (e : Throwable) { + } catch (e: Throwable) { context.logger.error("Failed to write $this. ${e.message}") e.printStackTrace() } |