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

Fixes #6263 - Tribler should open FeedbackDialog if error happend in Core during startup #6530

Merged

Conversation

kozlovsky
Copy link
Contributor

@kozlovsky kozlovsky commented Nov 5, 2021

Fixes #6263. The error that happened too early during the core startup process may get lost if GUI connects to Core after Core processes the exception. This PR remembers the last error and reports it to GUI on connect. Also, it refactors the code of EventsEndpoint to make it more readable.

@kozlovsky kozlovsky requested a review from drew2a November 5, 2021 13:59
@kozlovsky kozlovsky marked this pull request as ready for review November 5, 2021 14:17
@kozlovsky kozlovsky requested a review from a team November 5, 2021 14:17
@kozlovsky kozlovsky force-pushed the fix/6263_report_error_on_startup_crash branch from 9652358 to b63ee20 Compare November 5, 2021 15:14
@kozlovsky kozlovsky force-pushed the fix/6263_report_error_on_startup_crash branch from b63ee20 to 61ab37b Compare November 5, 2021 15:19
drew2a
drew2a previously approved these changes Nov 5, 2021
@kozlovsky
Copy link
Contributor Author

retest this please

drew2a and others added 2 commits November 5, 2021 17:21
test_on_tribler_exception_stores_only_first_error
test_get_events_has_undelivered_error
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kozlovsky kozlovsky requested a review from drew2a November 5, 2021 16:36
@kozlovsky kozlovsky merged commit cd2cd61 into Tribler:main Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[main] Tribler gets stuck on loading screen after component crash
2 participants