prefer to print to stderr for console chatter

This commit is contained in:
2024-11-17 02:59:13 +11:00
parent 20e76918fe
commit c239b8e424
9 changed files with 29 additions and 10 deletions

View File

@ -13,7 +13,7 @@ struct RegexMatcher: PatternMatcher {
do {
self._patterns = try patterns.map(Regex.init)
} catch {
print("Bad pattern \(error.localizedDescription)")
eprint("Bad pattern \(error.localizedDescription)")
throw .validationFailure
}
}