Describe the bug
When trying to fix https://github.com/outerbase/sdk/issues/33 the Outerbase API does not return any errors. I'm specifically working with an API key that is attached to a Cloudflare D1 interface.
Outerbase API said {
success: true,
response: {
query: 'update table egg where egg = "egg"',
results: { schema: false, items: [], count: 0 }
}
}
I do not have a table called egg and this query should have issues. It also seems to be confusing because there is a success:true but the status code 200 should already let us know that it was OK.
Describe the bug When trying to fix https://github.com/outerbase/sdk/issues/33 the Outerbase API does not return any errors. I'm specifically working with an API key that is attached to a Cloudflare D1 interface.
I do not have a table called
egg
and this query should have issues. It also seems to be confusing because there is asuccess:true
but the status code200
should already let us know that it was OK.To Reproduce Steps to reproduce the behavior: Update
outerbase.ts
to console log the response from thequery
function. https://github.com/outerbase/sdk/blob/main/src/connections/outerbase.ts#L126-L128Expected behavior I would expect Outerbase to let me know there is an error in my query but it silently fails.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): N/A
Smartphone (please complete the following information): N/A
Additional context Add any other context about the problem here.