(20250104) Basic message will be shown even in case of exception.

This commit is contained in:
2025-01-04 15:27:58 +05:30
parent 0c2d7816f4
commit 4fb628eec4
@@ -63,6 +63,7 @@ from utils_v2.api.async_quart import (
# Data Models:
from models.core.auth_token import CoreAuthTokenModel
from models.finstitutions.trading.oauth import TradingOAuthCallbackResponse
# Common:
from shared import constants
@@ -181,7 +182,7 @@ async def trading_oauth_callback(
}
# Start by assuming failure:
g.client_response = None
g.client_response = TradingOAuthCallbackResponse(message = "")
# ┳┓ ┓ ┏┓ ┓ •
# ┣┫┏┓┏┓┃┏┏┓┏┓ ┗┓┏┓┃┏┓┏╋┓┏┓┏┓