Skip to content

Stats API: Return status "not found" instead of "unknown" #4860

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

Merged
merged 1 commit into from
Jul 19, 2025

Conversation

M03ED
Copy link
Contributor

@M03ED M03ED commented Jul 6, 2025

currently when we request a stat and is not available, we get Unknown in return, this is not right and we should get NotFound status.

@RPRX RPRX changed the title fix: return not found status instead of unknown Stats API: Return status "not found" instead of "unknown" Jul 19, 2025
@RPRX RPRX merged commit ca8ef20 into XTLS:main Jul 19, 2025
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