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

fix: prefer reporting error over status for 200 OK #5378

Merged
merged 1 commit into from
May 5, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented May 4, 2024

When the HTTP status code is 200 OK, but an error was reported by Qt, the error name is now reported (if available) instead of "200".

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

tests/src/TestHelpers.hpp Outdated Show resolved Hide resolved
tests/src/TestHelpers.hpp Outdated Show resolved Hide resolved
tests/src/TestHelpers.hpp Outdated Show resolved Hide resolved
tests/src/TestHelpers.hpp Outdated Show resolved Hide resolved
tests/src/TestHelpers.hpp Outdated Show resolved Hide resolved
tests/src/TestHelpers.hpp Outdated Show resolved Hide resolved
@pajlada
Copy link
Member

pajlada commented May 5, 2024

I broke out all test-changing things into #5379 & added the "wrapped test file" logic instead of forced include

@pajlada pajlada merged commit 56fa973 into Chatterino:master May 5, 2024
17 checks passed
@Nerixyz Nerixyz deleted the fix/error-report branch May 5, 2024 17:37
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 this pull request may close these issues.

2 participants