diff --git a/internal/api/watcher.go b/internal/api/watcher.go index 6109cc1..f96e093 100644 --- a/internal/api/watcher.go +++ b/internal/api/watcher.go @@ -257,6 +257,7 @@ func (a *api) editWatcherHandler(w http.ResponseWriter, r *http.Request) { if err != nil { switch err { case reddit.ErrSubredditIsPrivate, reddit.ErrSubredditIsQuarantined: + err = fmt.Errorf("error watching %s: %w", lsr, err) a.errorResponse(w, r, 403, err) default: a.errorResponse(w, r, 422, err)