Skip to content

fix: fix async handling and error catching issues in monitoring hooks#60

Merged
Nimbus318 merged 1 commit into
Project-HAMi:mainfrom
Shenhan11:fix/async-handling-and-error-catching
Dec 2, 2025
Merged

fix: fix async handling and error catching issues in monitoring hooks#60
Nimbus318 merged 1 commit into
Project-HAMi:mainfrom
Shenhan11:fix/async-handling-and-error-catching

Conversation

@Shenhan11

Copy link
Copy Markdown
Contributor

No description provided.

- Add await to Promise.all in fetchInstantData and fetchRangeData
- Add times parameter validation in fetchRangeData
- Add query existence check before parseQuery call
- Add error handling for Promise rejections in fetchRangeData

Signed-off-by: Shenhan11 <1670285296@qq.com>
@hami-robot

hami-robot Bot commented Nov 28, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Shenhan11

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hami-robot hami-robot Bot added the size/S label Nov 28, 2025
@Nimbus318
Nimbus318 merged commit 2337575 into Project-HAMi:main Dec 2, 2025
7 of 8 checks passed
@Shenhan11
Shenhan11 deleted the fix/async-handling-and-error-catching branch December 15, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants