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:
David Anderson 2017-08-04 15:05:35 -07:00 committed by GitHub
commit 5c0c361e98
1 changed files with 2 additions and 2 deletions

View File

@ -390,12 +390,12 @@ void ACTIVE_TASK::handle_temporary_exit(
} else {
if (is_notice) {
msg_printf(result->project, MSG_USER_ALERT,
"Task postponed: %s", reason
"Task %s postponed for %.f seconds: %s", result->name, backoff, reason
);
} else {
if (log_flags.task) {
msg_printf(result->project, MSG_INFO,
"task postponed %f sec: %s", backoff, reason
"Task %s postponed for %.f seconds: %s", result->name, backoff, reason
);
}
}