reveal the exception in sampler