Skip to content

Commit

Permalink
Correct error handling comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Jan 21, 2025
1 parent 7cf0eca commit de61230
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{ cookiecutter.format }}/src/bootstrap/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ int main(int argc, char *argv[]) {
// SystemExit with error code
ret = (int) PyLong_AsLong(systemExit_code);
} else {
// Convert exit code to a string. This is required by runpy._error
// Error code is a string. This is generated by runpy._error.
// Output that string directly.
ret = -11;
printf("---------------------------------------------------------------------------\n");
printf("Application quit abnormally!\n");
Expand Down

0 comments on commit de61230

Please sign in to comment.