-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] [#381] Handle possible invalid stacktrace fonts
Pretty v2 introduced an incompatible change to its font format. Few (if any?) Timbre users actually customize these fonts beyond possibly disabling them, so this shouldn't affect most folks. But to be on the safe side, this commit introduces handling for possible v1 style fonts. There's 2 cases: 1. [Compile-time] Invalid default fonts (set via environment variable / JVM property). In this case Timbre will throw, preventing compilation. 2. [Runtime] Invalid fonts in output opts. In this case Timbre will log an error and ignore the invalid fonts.
- Loading branch information
1 parent
b28eded
commit 3d730f9
Showing
2 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters