mirror of https://github.com/buster-so/buster.git
Log error when failing to retrieve user organization ID in get_asset_access route
This commit is contained in:
parent
786874545e
commit
5ccd8ddd72
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue