fix config check running too late, add tower panic catcher(?)
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
94dfe26707
commit
aaba7342b5
5 changed files with 12 additions and 7 deletions
|
@ -5,7 +5,7 @@ use tracing::{debug, error, info, warn};
|
|||
|
||||
use crate::{utils::error::Error, Config};
|
||||
|
||||
pub fn check(config: &Config) -> Result<(), Error> {
|
||||
pub(super) fn check(config: &Config) -> Result<(), Error> {
|
||||
config.warn_deprecated();
|
||||
config.warn_unknown_key();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue