try: something() except SomeError as e: try: plan_B() except AlsoFailsError: raise e # or raise e from None - see below