Skip to content

Commit

Permalink
some debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gueldenstone committed May 12, 2024
1 parent 9b4e6f4 commit e2f33b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ pub async fn set_state(
.parse::<bool>()
.map_err(|err| AppError {
message: None,
cause: Some(err.to_string()),
cause: Some(format!(
"error parsing open_string: {} for: {}",
err,
new_state_data.open_string.clone().unwrap()
)),
error_type: AppErrorType::InternalError,
});
Some(parsed_open.unwrap())
Expand Down

0 comments on commit e2f33b4

Please sign in to comment.