From 6d520c2a40d9f6fe86f800a8371f9d4adad34001 Mon Sep 17 00:00:00 2001 From: Moritz Marquardt Date: Wed, 1 Dec 2021 21:44:54 +0100 Subject: [PATCH] Update error message for private repo access --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.go b/handler.go index 720ccde..a731412 100644 --- a/handler.go +++ b/handler.go @@ -293,7 +293,7 @@ func returnErrorPage(ctx *fasthttp.RequestCtx, code int) { message += " - domain not specified in .domains file" } if code == fasthttp.StatusFailedDependency { - message += " - owner, repo or branch doesn't exist (if everything's set up correctly, wait up to 15 minutes for cache invalidation)" + message += " - target repo/branch doesn't exist or is private" } ctx.Response.SetBody(bytes.ReplaceAll(NotFoundPage, []byte("%status"), []byte(strconv.Itoa(code)+" "+message))) }