Skip to content

Commit

Permalink
fix: exit login flow if there's an error
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Nov 27, 2024
1 parent 5a65147 commit 7fdf174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loadtest/control/simulcontroller/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7fdf174

Please sign in to comment.