mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 22:36:56 +00:00
Add explicit logging in GetBranchTimestamp
(#130)
- Logs are currently indicating that it's returning `nil` in valid scenarios, therefor this patch adds extra logging in this code to better understand what it is doing in this function. Co-authored-by: Gusted <williamzijl7@hotmail.com> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/130 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Gusted <gusted@noreply.codeberg.org> Co-committed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
parent
2a730b2439
commit
091e6c8ed9
2 changed files with 9 additions and 1 deletions
|
@ -296,7 +296,7 @@ func Handler(mainDomainSuffix, rawDomain []byte,
|
|||
return
|
||||
}
|
||||
|
||||
log.Info().Msg("tryBranch, now trying upstream 7 %s")
|
||||
log.Info().Msg("tryBranch, now trying upstream 7")
|
||||
tryUpstream(ctx, giteaClient, mainDomainSuffix, trimmedHost,
|
||||
targetOptions, targetOwner, targetRepo, targetBranch, targetPath,
|
||||
canonicalDomainCache, branchTimestampCache, fileResponseCache)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue