Skip to content

Commit

Permalink
SM-1147: Add comment for consistency across crates
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonhurst committed Mar 22, 2024
1 parent c766cea commit 4c5b926
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/bitwarden-py/src/client.rs
Expand Up @@ -8,7 +8,10 @@ pub struct BitwardenClient(JsonClient);
impl BitwardenClient {
#[new]
pub fn new(settings_string: Option<String>) -> Self {
_ = pyo3_log::try_init();
// This will only fail if another logger was already initialized, so we can ignore the
// result
let _ = pyo3_log::try_init();

Check warning on line 14 in crates/bitwarden-py/src/client.rs

View check run for this annotation

Codecov / codecov/patch

crates/bitwarden-py/src/client.rs#L11-L14

Added lines #L11 - L14 were not covered by tests
Self(JsonClient::new(settings_string))
}

Expand Down

0 comments on commit 4c5b926

Please sign in to comment.