mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 15:45:12 +00:00
fix: remove unnecessary details from import errors (#10703)
# Which Problems Are Solved During the implementation of #10687, it was noticed that the import endpoint might provide unnecessary error details. # How the Problems Are Solved Remove the underlying (parent) error from the error message. # Additional Changes none # Additional Context relates to #10687 Co-authored-by: Silvan <[email protected]>
This commit is contained in:
@@ -336,7 +336,7 @@ func TestServer_ImportData(t *testing.T) {
|
||||
{
|
||||
Type: "project_grant",
|
||||
Id: orgIDs[3] + "_" + projectIDs[2] + "_" + orgIDs[4],
|
||||
Message: "ID=V3-DKcYh Message=Errors.Project.Grant.AlreadyExists Parent=(ERROR: duplicate key value violates unique constraint \"unique_constraints_pkey\" (SQLSTATE 23505))",
|
||||
Message: "ID=V3-DKcYh Message=Errors.Project.Grant.AlreadyExists",
|
||||
},
|
||||
},
|
||||
Success: &admin.ImportDataSuccess{
|
||||
|
||||
Reference in New Issue
Block a user