diff --git a/jobs/commands/checkout_repository.go b/jobs/commands/checkout_repository.go index 0ac7898..ad79c7c 100644 --- a/jobs/commands/checkout_repository.go +++ b/jobs/commands/checkout_repository.go @@ -166,7 +166,7 @@ func updateSubmodules(repository *git.Repository, username, repoProviderToken st }, }) if err != nil { - return fmt.Errorf("error updating submodules: %s", err) + return fmt.Errorf("error updating submodule: %s: %s", submodule.Config().Path, err) } io.WriteString(logsWriter, fmt.Sprintf("Submodule %s updated successfully\n", submodule.Config().Path))