mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 13:26:16 +03:00
if failed to push to remote, just log
This commit is contained in:
parent
9ae9308348
commit
0c2999d909
@ -558,8 +558,9 @@ fn flush(
|
||||
session.hash = Some(commit_oid.to_string());
|
||||
delete(project).with_context(|| format!("failed to delete session"))?;
|
||||
|
||||
push_to_remote(repo, user, project)
|
||||
.with_context(|| format!("failed to push gb commit {} to remote", commit_oid))?;
|
||||
if let Err(e) = push_to_remote(repo, user, project) {
|
||||
log::error!("failed to push gb commit {} to remote: {:#}", commit_oid, e);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user