fix: log start of import

This commit is contained in:
beerpiss 2024-06-26 23:50:14 +07:00
parent e08af6069c
commit 19a579bebf

View File

@ -194,6 +194,8 @@ fn process_request(
return Ok(());
}
info!("Received profile upsert request. Initiating score import...");
let mut raw_body_slice =
unsafe { std::slice::from_raw_parts(buffer as *const u8, bufsiz as usize) };
let mut raw_body = Vec::with_capacity(bufsiz as usize);
@ -258,7 +260,7 @@ fn process_request(
.get(access_code)
.or_else(|| config.cards.get("default"))
else {
info!("No API keys was assigned to {access_code}, and no default API key was set, skipping score submission.");
info!("No API keys was assigned to {access_code}, and no default API key was set, skipping score import.");
return;
};