Skip to content

Commit

Permalink
Add extra logging for visitor app actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Feb 15, 2025
1 parent e65ba25 commit b98c11e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vzdv-site/src/endpoints/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,12 @@ async fn post_visitor_application_action(
.map_err(|err| AppError::GenericFallback("getting controller info", err))?;
record_log(
format!(
"{} taking action {} on visitor request {id}",
user_info.cid, action_form.action
"{} taking action {} on visitor request {id} for {} {} ({})",
user_info.cid,
action_form.action,
controller_info.first_name,
controller_info.last_name,
request.cid
),
&state.db,
true,
Expand Down

0 comments on commit b98c11e

Please sign in to comment.