fix: cryptic error message for user not found (#6787)

* fix: cryptic error message for user not found

* fix: cryptic error message for user not found, fix test
This commit is contained in:
Fabi
2023-10-24 23:19:12 +02:00
committed by GitHub
parent 6f82285ad6
commit 93122efe9f
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ func TestSessionCommands_getHumanWriteModel(t *testing.T) {
},
res: res{
want: nil,
err: caos_errs.ThrowPreconditionFailed(nil, "COMMAND-Df4b3", "Errors.ie4Ai.NotFound"),
err: caos_errs.ThrowPreconditionFailed(nil, "COMMAND-Df4b3", "Errors.User.NotFound"),
},
},
{