Add a failure decorator, used for debugging.