*** empty log message ***

svn path=/trunk/boinc/; revision=5736
This commit is contained in:
David Anderson 2005-03-30 05:15:54 +00:00
parent 4aeb37a776
commit cfa55b2724
1 changed files with 8 additions and 0 deletions

View File

@ -69,6 +69,13 @@ bool do_pass(APP& app) {
while (!wu.enumerate(buf)) { while (!wu.enumerate(buf)) {
vector<RESULT> results; // must be inside while()! vector<RESULT> results; // must be inside while()!
if (wu.assimilate_state != ASSIMILATE_READY) {
log_messages.printf(SCHED_MSG_LOG::CRITICAL,
"[%s] unexpected state=%d\n", wu.name, wu.assimilate_state
);
continue;
}
// for testing purposes, pretend we did nothing // for testing purposes, pretend we did nothing
// //
if (update_db) { if (update_db) {
@ -92,6 +99,7 @@ bool do_pass(APP& app) {
log_messages.printf(SCHED_MSG_LOG::CRITICAL, log_messages.printf(SCHED_MSG_LOG::CRITICAL,
"[%s] handler returned error %d; exiting\n", wu.name, retval "[%s] handler returned error %d; exiting\n", wu.name, retval
); );
exit(retval);
} }
if (update_db) { if (update_db) {