diff --git a/internal/reporting.go b/internal/reporting.go index 5810bab..66c5783 100644 --- a/internal/reporting.go +++ b/internal/reporting.go @@ -570,11 +570,14 @@ func (i *Internal) DescribeAnalysisHandler(c echo.Context) error { ctx := c.Request().Context() log.Info("in DescribeAnalysisHandler") + host := c.Param("host") user := c.QueryParam("user") if user == "" { return echo.NewHTTPError(http.StatusBadRequest, "user query parameter must be set") } + log.Infof("user: %s, user suffix: %s, host: %s", user, i.UserSuffix, host) + // Since some usernames don't come through the labelling process unscathed, we have to use // the user ID. fixedUser := i.fixUsername(user) @@ -586,8 +589,6 @@ func (i *Internal) DescribeAnalysisHandler(c echo.Context) error { return err } - host := c.Param("host") - filter := map[string]string{ "subdomain": host, }