fix: lint
This commit is contained in:
parent
c293929b11
commit
90f00604f0
|
|
@ -19,7 +19,7 @@ async fn main() -> anyhow::Result<()> {
|
||||||
filters.push(format!("gotrue={}", level));
|
filters.push(format!("gotrue={}", level));
|
||||||
let conf =
|
let conf =
|
||||||
get_configuration().map_err(|e| anyhow::anyhow!("Failed to read configuration: {}", e))?;
|
get_configuration().map_err(|e| anyhow::anyhow!("Failed to read configuration: {}", e))?;
|
||||||
// init_subscriber(&conf.app_env, filters);
|
init_subscriber(&conf.app_env, filters);
|
||||||
|
|
||||||
// If current build is debug and the feature "custom_env" is not enabled, load from .env
|
// If current build is debug and the feature "custom_env" is not enabled, load from .env
|
||||||
// otherwise, load from .env.without_nginx.
|
// otherwise, load from .env.without_nginx.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue