mirror of https://github.com/BOINC/boinc.git
Merge pull request #1978 from JuhaSointusalo/client-add-task-name-to-postponed-message
client: add task name and tweak postponed message
This commit is contained in:
commit
5c0c361e98
|
@ -390,12 +390,12 @@ void ACTIVE_TASK::handle_temporary_exit(
|
||||||
} else {
|
} else {
|
||||||
if (is_notice) {
|
if (is_notice) {
|
||||||
msg_printf(result->project, MSG_USER_ALERT,
|
msg_printf(result->project, MSG_USER_ALERT,
|
||||||
"Task postponed: %s", reason
|
"Task %s postponed for %.f seconds: %s", result->name, backoff, reason
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if (log_flags.task) {
|
if (log_flags.task) {
|
||||||
msg_printf(result->project, MSG_INFO,
|
msg_printf(result->project, MSG_INFO,
|
||||||
"task postponed %f sec: %s", backoff, reason
|
"Task %s postponed for %.f seconds: %s", result->name, backoff, reason
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue