minor logging change and DB creation for the demo

This commit is contained in:
2026-02-17 11:54:01 +01:00
parent 96cc0c3c46
commit 61039503d9
12 changed files with 17 additions and 2 deletions

View File

@@ -494,7 +494,7 @@ pub async fn create_refresh_token(
},
) {
Ok(cr) => cr,
Err(_) => return Err((StatusCode::INTERNAL_SERVER_ERROR, "error fetching credentials".to_string())),
Err(e) => return Err((StatusCode::INTERNAL_SERVER_ERROR, format!("error fetching credentials: {e}").to_string())),
};