Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

better exception handling for API endpoint #55

Open
ratanparai opened this issue May 1, 2018 · 0 comments
Open

better exception handling for API endpoint #55

ratanparai opened this issue May 1, 2018 · 0 comments

Comments

@ratanparai
Copy link
Member

I'm submitting a...


[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

Calling API endpoint return HTML page rather than json if something goes wrong in server side.

Expected behavior

API endpoint should always return result in json format. If there is any problem then it should return in json format too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant