Dump fmt.Errorf error messages in console

Related to my post about not being able to show the username in incus UI authenticated with authelia OIDC I found this code in github [ncus/internal/sever/auth/oidc/oidc.go](incus/internal/server/auth/oidc/oidc.go at bcc3363232a45ac1fbf96009f7bb66ae3e22a9e0 · lxc/incus · GitHub] that I think would have help to get more details about the problem.

	if o.claim != "" {
		claim := claims.Claims[o.claim]
		username, ok := claim.(string)
		if claim == nil || !ok || username == "" {
			return "", fmt.Errorf("OIDC user is missing required claim %q", o.claim)
		}

		return username, nil
	}

My question is how can I see these type of errors incus monitor didn’t show them.

That would most likely have been sent back to the client.