Fix error reporting (#6061)

This commit is contained in:
Martin Redington
2025-05-21 11:34:46 +01:00
committed by GitHub
parent e1ac6f8607
commit f72f195ece
3 changed files with 8 additions and 5 deletions
@@ -280,7 +280,7 @@ public struct Configuration {
if useDefaultConfigOnFailure ?? !hasCustomConfigurationFiles {
// No files were explicitly specified, so maybe the user doesn't want a config at all -> warn
queuedPrintError(
"\(Issue.wrap(error: error).errorDescription) Falling back to default configuration"
"\(Issue.wrap(error: error).localizedDescription) Falling back to default configuration"
)
self.init(rulesMode: rulesMode, cachePath: cachePath)
} else {