*** empty log message ***

svn path=/trunk/boinc/; revision=2965
This commit is contained in:
Rom Walton 2004-02-05 06:42:11 +00:00
parent 9de709e00d
commit c75093ab4e
2 changed files with 11 additions and 2 deletions

View File

@ -9792,3 +9792,10 @@ David Feb 4 2004
client/
client_state.C
Rom Feb 4 2004
- When handled errors occur provide the translated error message as well as the
error code.
client/
app.c

View File

@ -644,10 +644,12 @@ bool ACTIVE_TASK_SET::check_app_exited() {
atp->result->active_task_state = PROCESS_EXITED;
//if a nonzero error code, then report it
if (exit_code) {
char szError[1024];
gstate.report_result_error(
*(atp->result), 0,
"process exited with code %d (0x%x)",
exit_code, exit_code
"%s - exit code %d (0x%x)",
windows_error_string(szError, sizeof(szError)),
exit_code, exit_code
);
}
}