Skip to content

Commit

Permalink
Change warn to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rmn-boiko committed Jul 23, 2024
1 parent 30da451 commit 420e5de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/api-server/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use kamu_adapter_oauth::GithubAuthenticationConfig;
use kamu_datasets::DatasetEnvVarsConfig as CliDatasetEnvVarsConfig;
use kamu_datasets_inmem::domain::DatasetEnvVar;
use opendatafabric::{AccountID, AccountName};
use tracing::{info, warn};
use tracing::{error, info};
use url::Url;

use crate::config::{
Expand Down Expand Up @@ -444,7 +444,7 @@ pub async fn init_dependencies(
}

if config.dataset_env_vars.encryption_key.as_ref().is_none() {
warn!("Dataset env vars encryption key was not provided. This feature will be disabled.")
error!("Dataset env vars encryption key was not provided. This feature will be disabled.")
} else if DatasetEnvVar::try_asm_256_gcm_from_str(
config.dataset_env_vars.encryption_key.as_ref().unwrap(),
)
Expand Down

0 comments on commit 420e5de

Please sign in to comment.