RestException to include the stage at which it is thrown and successfully completed and failed stages
Compose to make use of getStage and getStages methods for debug info