private void OnItemFailed(object sender, WorkItemEventArgs workItemEventArgs)
 {
     logger.Fatal("Work item failed.");
 }
 private void onFailedWorkItem(object sender, WorkItemEventArgs e)
 {
     logger.Fatal("WorkItem failed.");
 }
 private void OnItemFailed(object sender, WorkItemEventArgs workItemEventArgs)
 {
     logger.Fatal("Work item failed: " + workItemEventArgs.WorkItem);
     logger.Fatal(Environment.NewLine + workItemEventArgs.WorkItem.FailedException);
 }