Skip to content

Commit

Permalink
Error out when ACL cannot be enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
oteffahi committed Apr 30, 2024
1 parent c7bec9a commit f56829d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/net/routing/interceptor/access_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub(crate) fn acl_interceptor_factories(
enforcer: Arc::new(policy_enforcer),
}))
}
Err(e) => tracing::error!("Access control not enabled due to: {}", e),
Err(e) => bail!("Access control not enabled due to: {}", e),
}
} else {
tracing::debug!("Access control is disabled");
Expand Down

0 comments on commit f56829d

Please sign in to comment.