Ensuring PebbleException keeps track of the cause