Just as a "for your consideration," how would anyone have known without you weighing in on a HN thread?
I don't know what it is about frontend apps that makes them assume that every request is 200 OK or that every Promise is always .then(response) but as a consumer of the web it drives me batshit, and as a developer of enterprise apps it makes me the bad guy in PRs
Anyway, I'm not exactly wagging my finger at you but rather if this thing you are shipping is designed to help generate apps for people, it would be stellar if the generation included at bare minimum a // TODO watch out for errors
Just updating that this is now fixed. Thank you for the feedback :) https://github.com/onlook-dev/onlook/pull/1979
This is a fair point and our fault for not handling that case correctly. We will handle these errors better in the future.