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

Use dedicated exit codes when another primary GUI/Core process is running #7746

Conversation

kozlovsky
Copy link
Collaborator

Currently, when the Tribler GUI/Core process detects that another primary process is running, it exits with the generic exit code 1.

It is better to have a separate exit code so CoreManager or ApplicationTester is able to see the reason for the sudden process termination. Introducing the specific exit codes should allow the separation of the different error reports in Sentry and the special handling of specific exit codes.

@kozlovsky kozlovsky requested a review from a team as a code owner December 4, 2023 08:23
@kozlovsky kozlovsky requested review from drew2a and removed request for a team December 4, 2023 08:23
@kozlovsky kozlovsky changed the title Add exit codes ANOTHER_GUI_PROCESS_IS_RUNNING & ANOTHER_CORE_PROCESS_IS_RUNNING Use dedicated exit codes when another primary GUI/Core process is running Dec 4, 2023
@kozlovsky kozlovsky changed the base branch from main to release/7.13 December 4, 2023 10:35
@kozlovsky kozlovsky force-pushed the exit_codes_another_process_is_running branch from 2772961 to 07107a4 Compare December 4, 2023 10:53
@kozlovsky kozlovsky force-pushed the exit_codes_another_process_is_running branch from 07107a4 to 06112bb Compare December 4, 2023 10:54
@kozlovsky kozlovsky merged commit aac0331 into Tribler:release/7.13 Dec 4, 2023
15 of 17 checks passed
@kozlovsky kozlovsky deleted the exit_codes_another_process_is_running branch December 4, 2023 11:23
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

2 participants