Shoonya-Dev / ShoonyaApi-py

145 stars 134 forks source link

Returning None in case of error #22

Closed saiprasad-psp closed 2 years ago

saiprasad-psp commented 2 years ago

Returning the actual error instead of none would be really helpful in error handling. Code from place_order function in NorenApi.py - if resDict['stat'] != 'Ok':
return None Best Reagards, Sai

Shoonya-Dev commented 2 years ago

Greetings from FINVASIA!

Thanks for your Concern.

Please Try to pull Github again, If happening again kindly report it to apisupport@finvasia.in.