Skip to content

Commit

Permalink
Don't unwrap synthesised with_authentication() error before returning it
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Oct 1, 2024
1 parent 3832a05 commit f04791e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ fn with_authentication<T, F>(url: &str, mut f: F) -> Result<T, GitError>
}
}

Err(GitError::from_str(&msg)).unwrap()
Err(GitError::from_str(&msg))
}
}

Expand Down

0 comments on commit f04791e

Please sign in to comment.