(20250104) Breeze authorization cycle ready for testing on live server.
This commit is contained in:
@@ -224,7 +224,7 @@ class ZerodhaKiteTradingController(TradingController):
|
||||
# If not such auth token exists:
|
||||
if not auth_token:
|
||||
response.message = (
|
||||
f"No such integration found in our system. "
|
||||
f"We couldn't find such an integration in our system. "
|
||||
"Please add this integration first and then try again."
|
||||
)
|
||||
return response
|
||||
@@ -238,8 +238,8 @@ class ZerodhaKiteTradingController(TradingController):
|
||||
)
|
||||
zerodha_auth_token = ZerodhaKiteAuthTokens(**session_data)
|
||||
except Exception as exception:
|
||||
response.message = f"Client exception: {exception}"
|
||||
response.exception = exception
|
||||
response.message = str(exception)
|
||||
return response
|
||||
|
||||
# Ensure that the client user id of the incoming callback and the one given in Zerodha's session data match:
|
||||
|
||||
Reference in New Issue
Block a user