Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Apr 24, 2024
1 parent a4be1f6 commit 35b802d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ func GitFetchBranches(sourceRemote *git.Remote, sourceAuthentication Authenticat
log.Info("[", repositoryName, "] Repository up-to-date.")
return nil
default:
log.Warn("[", repositoryName, "] Retrying fetching branches because the following error occurred: ", err)
if err != nil {
log.Warn("[", repositoryName, "] Retrying fetching branches because the following error occurred: ", err)
}
return err
}
}
Expand Down

0 comments on commit 35b802d

Please sign in to comment.