File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -296,10 +296,7 @@ async def list_sub_events(
296296 page : int = 1 ,
297297 sort_by : Optional [str ] = None ,
298298 sort_direction : Optional [int ] = - 1 ,
299- ) -> Tuple [
300- List [SubscriptionEventAnyOut ],
301- int ,
302- ]:
299+ ) -> Tuple [List [SubscriptionEventAnyOut ], int ,]:
303300 """list subscription events"""
304301 # pylint: disable=duplicate-code, too-many-locals, too-many-branches, too-many-statements
305302 # Zero-index page for query
@@ -463,6 +460,9 @@ async def get_checkout_url(
463460 # pylint: disable=broad-exception-caught
464461 except Exception as exc :
465462 print ("Error fetching checkout url" , exc )
463+ raise HTTPException (
464+ status_code = 500 , detail = "Error fetching checkout url"
465+ ) from exc
466466
467467
468468# pylint: disable=invalid-name,too-many-arguments,too-many-locals
You can’t perform that action at this time.
0 commit comments