#8 after create PR, delete local branch.

This commit is contained in:
Gorbunov Kirill Andreevich 2024-04-02 18:44:53 +03:00
parent 7e6ebcbe89
commit 993daad3bb
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ func (g *Gitea) RequestClose(ctx context.Context, branch string, path string) er
}
rsp, err := http.DefaultClient.Do(req)
if err != nil {
logger.Error(ctx, fmt.Sprintf("failed to do request for delete the branch: %s, err: %s, code: %s", branch, err, rsp.StatusCode))
logger.Error(ctx, fmt.Sprintf("failed to do request for delete the branch: %s, err: %s, code: %v", branch, err, rsp.StatusCode))
return err
}