Throwing exception when profiled request throws exception