Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: should throw error if cannot found slack user (#17376)
ecmadao0351b325d760
diff --git a/backend/plugin/webhook/slack/slack.go b/backend/plugin/webhook/slack/slack.goindex de93e0fec2..f804f6260c 100644--- a/backend/plugin/webhook/slack/slack.go+++ b/backend/plugin/webhook/slack/slack.go@@ -196,7 +196,7 @@ func postDirectMessage(webhookCtx webhook.Context) bool {return errors.Wrapf(err, "failed to lookup user")}if userID == "" {- return nil+ return errors.Errorf("failed to find user id for %v", u.Email)}channelID, err := p.openConversation(ctx, userID)if err != nil {