samepage-network / roam-samepage

MIT License
4 stars 2 forks source link

Bubble up 404 from SamePage API #20

Open dvargas92495 opened 5 months ago

dvargas92495 commented 5 months ago

When calling the /query POST API with an invalid notebook target, the SamePage API returns a 404. This is correct, except the /query route in this API then returns a 500 up to the frontend. We should forward that error back up to the client so that we could display the correct error message

dvargas92495 commented 5 months ago

@ellipses-dev