diff --git a/sched/update_stats.C b/sched/update_stats.C index f7ad0ffe23..24b6df019a 100644 --- a/sched/update_stats.C +++ b/sched/update_stats.C @@ -98,7 +98,14 @@ int update_teams() { while (!team.enumerate()) { retval = get_team_credit(team); - if (retval) return retval; + if (retval) { + log_messages.printf( + SchedMessages::CRITICAL, + "update_teams: get_team_credit([TEAM#%d]) failed: %d\n", + team.id, + retval); + return retval; + } // update the team record retval = team.update();