Remove target field from error logging macro
This commit is contained in:
parent
54889bdf89
commit
f74d2c3905
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub fn get_env_variable(var_name: &str) -> String {
|
|||
match env::var(var_name) {
|
||||
Ok(v) => v,
|
||||
Err(_) => {
|
||||
error!(target: "bot_warn_errors", "Failed to fetch the {} environment variable.", var_name);
|
||||
error!("Failed to fetch the {} environment variable.", var_name);
|
||||
panic!("Exiting...");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue