Issue #2306923 by joachim: Propagate message statuses to drupal_set_message in batch