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

Prevent showing error modal dialog due to inet issue #252

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Sep 15, 2023

This PR prevents showing error modal dialog due to inet issue


When the sync starts we send a ping request to bfx api to check that api is available

https://github.com/bitfinexcom/bfx-reports-framework/blob/master/workers/loc.api/sync/index.js#L127
https://github.com/bitfinexcom/bfx-reports-framework/blob/master/workers/loc.api/service.report.framework.js#L258
The idea is to not show error modal dialog for issues, just show error toast via UI when fetching the corresponding error with progress event via WS


Depends on this PR:

Copy link
Collaborator

@ezewer ezewer left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@ezewer ezewer merged commit cc40933 into bitfinexcom:staging Sep 18, 2023
This was referenced Sep 20, 2023
@ZIMkaRU ZIMkaRU deleted the bugfix/prevent-showing-error-modal-dialog-due-to-inet-issue branch March 13, 2024 07:31
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