From 43b071fb182fa153caaf744da54dbeca5a25533e Mon Sep 17 00:00:00 2001 From: Nikita Galaiko Date: Fri, 12 Jan 2024 08:56:29 +0100 Subject: [PATCH] do not hide network error --- .../src/watcher/handlers/push_project_to_gitbutler.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gitbutler-app/src/watcher/handlers/push_project_to_gitbutler.rs b/gitbutler-app/src/watcher/handlers/push_project_to_gitbutler.rs index 39fae00b2..a319178a3 100644 --- a/gitbutler-app/src/watcher/handlers/push_project_to_gitbutler.rs +++ b/gitbutler-app/src/watcher/handlers/push_project_to_gitbutler.rs @@ -220,9 +220,8 @@ fn push_all_refs( let all_refs = all_refs.iter().map(String::as_str).collect::>(); - 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!(