Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: mask on exceeded error (#13996)
Danny Xu30cc12435bd6
diff --git a/backend/api/v1/query_result_masker.go b/backend/api/v1/query_result_masker.goindex 051f9de5f6..34630c4c51 100644--- a/backend/api/v1/query_result_masker.go+++ b/backend/api/v1/query_result_masker.go@@ -65,7 +65,7 @@ func (s *QueryResultMasker) MaskResults(ctx context.Context, spans []*base.Queryreturn errors.Errorf("query span error: %v", spans[i].NotFoundError)}// Skip masking for error result.- if results[i].Error != "" {+ if results[i].Error != "" && len(results[i].Rows) == 0 {continue}maskers, err := s.getMaskersForQuerySpan(ctx, m, instance, spans[i], action)