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

better exception handling for API endpoint #55

@ratanparai

Description

@ratanparai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions