fix(query): print log line on secret generator error (#8424)

# Which Problems Are Solved

Log some details when a secret generator is not found.
This should help us debugging such issue.

# How the Problems Are Solved

When a secret generator by type query fails,
we log the generator type and instance id for which
the generator was requested.

# Additional Changes

- none

# Additional Context

- Related to https://github.com/zitadel/zitadel/issues/8379
- Also encountered in https://github.com/zitadel/zitadel/pull/8407
This commit is contained in:
Tim Möhlmann
2024-08-13 15:52:43 +03:00
committed by GitHub
parent 042c438813
commit fcda6580ff
3 changed files with 119 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
package domain
//go:generate enumer -type SecretGeneratorType -transform snake -trimprefix SecretGeneratorType
type SecretGeneratorType int32
const (