From 133c3906eb33f7880c53782ab3975c249dd6da9e Mon Sep 17 00:00:00 2001 From: anatoleam Date: Sat, 2 Dec 2023 18:53:57 -0600 Subject: [PATCH] debug --- internal/api/operations/sync_user.go | 2 ++ terraform/config.template.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/api/operations/sync_user.go b/internal/api/operations/sync_user.go index 53304bb..d213127 100644 --- a/internal/api/operations/sync_user.go +++ b/internal/api/operations/sync_user.go @@ -40,6 +40,8 @@ func SyncUser(gctx global.Context, ctx context.Context, req compactdisc.Request[ "discord_id", con.ID, ) + z.Debugw() + member, err := dis.State.Member(guildID, con.ID) if err != nil { // member is not in state, so we must fetch them member, err = dis.GuildMember(guildID, con.ID) diff --git a/terraform/config.template.yaml b/terraform/config.template.yaml index 0ca677a..ff5ad82 100644 --- a/terraform/config.template.yaml +++ b/terraform/config.template.yaml @@ -1,5 +1,5 @@ # Log level -level: info +level: debug cdn_url: cdn.7tv.app website_url: https://7tv.app