Skip to content

Commit

Permalink
Log feed URL when submitting a subscription that returns an error
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Sep 19, 2022
1 parent 98c166c commit e8fe4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/subscription_submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (h *handler) submitSubscription(w http.ResponseWriter, r *http.Request) {
subscriptionForm.AllowSelfSignedCertificates,
)
if findErr != nil {
logger.Error("[UI:SubmitSubscription] %s", findErr)
logger.Error("[UI:SubmitSubscription] %q -> %s", subscriptionForm.URL, findErr)
v.Set("form", subscriptionForm)
v.Set("errorMessage", findErr)
html.OK(w, r, v.Render("add_subscription"))
Expand Down

0 comments on commit e8fe4ed

Please sign in to comment.