Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit error and error_code #8

Open
Tracked by #3185
mstoykov opened this issue Jul 21, 2022 · 0 comments
Open
Tracked by #3185

Emit error and error_code #8

mstoykov opened this issue Jul 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mstoykov
Copy link
Collaborator

mstoykov commented Jul 21, 2022

Connected issue for the original k6 api:

Currently, if an error (like timeout) happens during the creation of the websocket, k6 will not emit status=0 or tags error and error_code as the HTTP module, but will just no emit the status tag, call the error handle if defined and end continue executing javascript.

This will require for the error_code code to be made exported and possibly moved to a different module, which will impact grafana/k6#2008, so we might want to merge that first.

@olegbespalov olegbespalov self-assigned this Feb 7, 2023
@olegbespalov olegbespalov added the enhancement New feature or request label Jun 13, 2023
@codebien codebien added good first issue Good for newcomers hacktoberfest https://hacktoberfest.com labels Oct 13, 2023
@olegbespalov olegbespalov removed their assignment Nov 28, 2023
@andrewslotin andrewslotin removed good first issue Good for newcomers hacktoberfest https://hacktoberfest.com labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants