mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 16:58:24 +00:00
Log repo name if does not match whitelist
Should help with folks debugging, especially for BB Server.
This commit is contained in:
@@ -278,7 +278,9 @@ func (e *EventsController) handlePullRequestEvent(w http.ResponseWriter, baseRep
|
||||
if eventType == models.OpenedPullEvent {
|
||||
e.commentNotWhitelisted(baseRepo, pull.Num)
|
||||
}
|
||||
e.respond(w, logging.Debug, http.StatusForbidden, "Ignoring pull request event from non-whitelisted repo")
|
||||
e.respond(w, logging.Debug, http.StatusForbidden,
|
||||
"Ignoring pull request event from non-whitelisted repo \"%s/%s\"",
|
||||
baseRepo.VCSHost.Hostname, baseRepo.FullName)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user