You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ktlint-intelli-plugin loads the baseline file via function loadBaseline(path: String). In case that an error occurs the BaselineLoader only prints a log message but does not throw an exception. As a result the plugin can not catch the error and is therefore not able to provide feedback to users. It would be nice in case the BaselineLoader can be configured to thrown an exception -or- print the log message.
The text was updated successfully, but these errors were encountered:
The caller should be able to determine how errors while loading the baseline are to be handled. The ktlint CLI expects errors to be printed to the log. The ktlint-intellij-plugin requires exceptions to be thrown as the log is invisible for the plugin.
Closes#2344
* Support logging and exception throwing when loading baseline
The caller should be able to determine how errors while loading the baseline are to be handled. The ktlint CLI expects errors to be printed to the log. The ktlint-intellij-plugin requires exceptions to be thrown as the log is invisible for the plugin.
Closes#2344
The ktlint-intelli-plugin loads the baseline file via function
loadBaseline(path: String)
. In case that an error occurs theBaselineLoader
only prints a log message but does not throw an exception. As a result the plugin can not catch the error and is therefore not able to provide feedback to users. It would be nice in case theBaselineLoader
can be configured to thrown an exception -or- print the log message.The text was updated successfully, but these errors were encountered: