diff --git a/wrapper/wrapper.C b/wrapper/wrapper.C index 917535a5e2..772085678c 100644 --- a/wrapper/wrapper.C +++ b/wrapper/wrapper.C @@ -362,6 +362,9 @@ int main(int argc, char** argv) { while(1) { int status; if (task.poll(status)) { + if (status) { + fprintf(stderr, "app error: 0x%x\n", status); + } boinc_finish(status); } poll_boinc_messages(task);