mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-06-28 14:59:35 +00:00
Improve Error
This commit is contained in:
parent
cfd205f1bf
commit
59b0739a25
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func validateSecretData(rType *api.ResourceType, secretData string) error {
|
||||||
|
|
||||||
err = schema.Validate(strings.NewReader(secretData))
|
err = schema.Validate(strings.NewReader(secretData))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Validating Secret Data: %w", err)
|
return fmt.Errorf("Validating Secret Data with Schema: %w", err)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue