Shravan dataloading failure

Creating the failure path in DataLoader. Tested in Local mode
It would be better to have this injected in a class instead of using a global var for it.