diff --git a/botto/clients/app_store_server.py b/botto/clients/app_store_server.py index af8aade..069f8af 100644 --- a/botto/clients/app_store_server.py +++ b/botto/clients/app_store_server.py @@ -88,7 +88,7 @@ async def lookup_order_id( for t in response.signedTransactions ] return decoded_transactions - except APIException | VerificationException as e: + except (APIException, VerificationException) as e: raise OrderLookupError( f"Error looking up order ID {order_id} for app {app.bundle_id}" ) from e