Skip to content

Commit

Permalink
Update src/services/db/GitFileSystemService.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Timothee Groleau <[email protected]>
  • Loading branch information
harishv7 and timotheeg authored Apr 22, 2024
1 parent eca59a8 commit cd223c0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/services/db/GitFileSystemService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,13 @@ export default class GitFileSystemService {
.cwd({ path: `${efsVolPath}/${repoName}`, root: false })
.push([...gitOptions, "--force"]),
(error) => {
logger.error(
`Both retries for git push have failed. Error when pushing ${repoName}: ${error}`
)
logger.error({
error,
message: 'Error when pushing. Both retries for git push have failed.',
meta: {
repoName,
},
})

if (error instanceof GitError) {
return new GitFileSystemError(
Expand Down

0 comments on commit cd223c0

Please sign in to comment.