Fix doc examples to use ? instead of .expect() #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
The usage example in
Keycloak::from_contextdoc comment uses.expect("Failed to create Keycloak layer")which will panic in production if Keycloak is misconfigured.Doc examples should demonstrate
?or proper error handling to set the right example for consumers.