minor logging change and DB creation for the demo
This commit is contained in:
@@ -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())),
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user