Skip to content

Commit a896407

Browse files
committed
ODP-5235: Fix bad rebase
1 parent 6f76001 commit a896407

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/github/backup.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@ impl GithubClient {
166166
// If the clone failed, remove the directory to avoid leaving a broken repo
167167
std::fs::remove_dir_all(tmp_directory)?;
168168
}
169-
Err(GitError::ExecutionError {
170-
command: format!("git remote update -C {path}"),
171-
status: s.status.to_string(),
172-
})
169+
Err(GitError::Other(format!(
170+
"Failed to back up repository: {ssh_url}, error: {e}"
171+
)))
173172
}
174173
}
175174
})

0 commit comments

Comments
 (0)