Include previous exception when raising a new in set_identity_insert