Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle encoding misfortunes in logging (#1248)
The beets loggers now, as proposed in #1044, do their utmost to avoid crashing when logged values are not valid Unicode or Unicode-convertible. This came up urgently when a `CalledProcessError` could not be logged with `'u{}'.format()` (!!!) so we needed to some manner of conversion, but it should be possible to log paths without `displayable_path`. In fact, it may be time to retire `displayable_path` for the most part.
- Loading branch information