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

refactor: better err handling #17

Merged
merged 3 commits into from
Apr 19, 2023
Merged

refactor: better err handling #17

merged 3 commits into from
Apr 19, 2023

Conversation

jiacai2050
Copy link
Contributor

@jiacai2050 jiacai2050 commented Apr 18, 2023

In a fresh environment, visit web page will report {"code":500,"message":"min_max_time"}, which is not friendly.

The cause of this is because there is no histories in database, this PR avoid this error by fallback to default time range.

@jiacai2050 jiacai2050 merged commit 2a16594 into master Apr 19, 2023
2 checks passed
@jiacai2050 jiacai2050 deleted the feat-better-msg branch April 19, 2023 11:48
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.

None yet

1 participant