Skip to content

Commit

Permalink
improve error logging (fixes #710) (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
wakingrufus authored Sep 20, 2023
1 parent 29fc25b commit 23d0c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
## [Unreleased]

- update latest version text file manually [#709](https://github.com/JLLeitschuh/ktlint-gradle/pull/709)
- Improve error logging [#711](https://github.com/JLLeitschuh/ktlint-gradle/pull/711)

## [11.6.0] - 2023-09-18

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ abstract class KtLintWorkAction : WorkAction<KtLintWorkAction.KtLintWorkParamete
results.add(result)
}
} catch (e: RuntimeException) {
logger.error(e.message)
throw GradleException(
"KtLint failed to parse file: ${it.absolutePath}",
e
Expand Down

0 comments on commit 23d0c9e

Please sign in to comment.