Try only restoring mapped type on exception throw.