This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: raise better errors on common logging block syntax mistakes
These are commonly reported and include: - Commenting out the contents of logging:channels without commenting out the "channels:" heading, causing that block to become None. - Commenting out headers like "filerotation:", causing its body to become pairs in logging:files or something similar. - Leaving logging:channels:<netname> empty: this causes it to become None, so using get() on it fails.
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 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