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

bug(EVENT_VIEWER): connector events is missing a status code field #3394

Closed
harsh-sharma-juspay opened this issue Jan 18, 2024 · 0 comments · Fixed by #3393
Closed

bug(EVENT_VIEWER): connector events is missing a status code field #3394

harsh-sharma-juspay opened this issue Jan 18, 2024 · 0 comments · Fixed by #3393
Assignees

Comments

@harsh-sharma-juspay
Copy link
Contributor

The status code is being always registered as 0 in clickhouse.

Image

It seems that we aren't setting the status code at all from the application...

we should be able to extract the status code via a simple snippet

let status_code = response
    .as_ref()
    .map(|i| i.map_or_else(|value| value.status_code, |value| value.status_code)).unwrap_or_default();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant