do not hide network error

This commit is contained in:
Nikita Galaiko 2024-01-12 08:56:29 +01:00 committed by GitButler
parent b3664cb462
commit 43b071fb18

View File

@ -220,9 +220,8 @@ fn push_all_refs(
let all_refs = all_refs.iter().map(String::as_str).collect::<Vec<_>>();
let anything_pushed = project_repository
.push_to_gitbutler_server(user.as_ref(), all_refs.as_slice())
.context("failed to push project (all refs) to gitbutler")?;
let anything_pushed =
project_repository.push_to_gitbutler_server(user.as_ref(), all_refs.as_slice())?;
if anything_pushed {
tracing::info!(