Shravan dataloading failure

Creating the failure path in DataLoader. Tested in Local mode
Can you reorder this to avoid the `!`?