(20250104) Basic message will be shown even in case of exception.
This commit is contained in:
@@ -63,6 +63,7 @@ from utils_v2.api.async_quart import (
|
|||||||
|
|
||||||
# Data Models:
|
# Data Models:
|
||||||
from models.core.auth_token import CoreAuthTokenModel
|
from models.core.auth_token import CoreAuthTokenModel
|
||||||
|
from models.finstitutions.trading.oauth import TradingOAuthCallbackResponse
|
||||||
|
|
||||||
# Common:
|
# Common:
|
||||||
from shared import constants
|
from shared import constants
|
||||||
@@ -181,7 +182,7 @@ async def trading_oauth_callback(
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Start by assuming failure:
|
# Start by assuming failure:
|
||||||
g.client_response = None
|
g.client_response = TradingOAuthCallbackResponse(message = "")
|
||||||
|
|
||||||
# ┳┓ ┓ ┏┓ ┓ •
|
# ┳┓ ┓ ┏┓ ┓ •
|
||||||
# ┣┫┏┓┏┓┃┏┏┓┏┓ ┗┓┏┓┃┏┓┏╋┓┏┓┏┓
|
# ┣┫┏┓┏┓┃┏┏┓┏┓ ┗┓┏┓┃┏┓┏╋┓┏┓┏┓
|
||||||
|
|||||||
Reference in New Issue
Block a user