From 7fdf174d663c3ae93a5c4912a6da8f96350bab17 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Wed, 27 Nov 2024 07:14:07 +0100 Subject: [PATCH] fix: exit login flow if there's an error --- loadtest/control/simulcontroller/actions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/loadtest/control/simulcontroller/actions.go b/loadtest/control/simulcontroller/actions.go index 19056559a..2c845b258 100644 --- a/loadtest/control/simulcontroller/actions.go +++ b/loadtest/control/simulcontroller/actions.go @@ -148,6 +148,7 @@ func (c *SimulController) login(u user.User) control.UserActionResponse { return resp } c.status <- c.newErrorStatus(err) + return control.UserActionResponse{Err: err} } appErr, ok := resp.Err.(*control.UserError).Err.(*model.AppError)