Log error when failing to retrieve user organization ID in get_asset_access route

This commit is contained in:
dal 2025-01-06 13:00:01 -07:00
parent 786874545e
commit 5ccd8ddd72
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ async fn is_organization_admin_or_owner(
let user_organization_id = match get_user_organization_id(&user_id).await {
Ok(organization_id) => organization_id,
Err(e) => {
tracing::error!("Error getting user organization ID: {}", e);
return Ok(false);
}
};