From de612305c0832ed8b3d8c3156d61406894989651 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 22 Jan 2025 05:24:20 +0800 Subject: [PATCH] Correct error handling comment. --- {{ cookiecutter.format }}/src/bootstrap/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/{{ cookiecutter.format }}/src/bootstrap/main.c b/{{ cookiecutter.format }}/src/bootstrap/main.c index 7360881..a3e77d4 100644 --- a/{{ cookiecutter.format }}/src/bootstrap/main.c +++ b/{{ cookiecutter.format }}/src/bootstrap/main.c @@ -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");