aquametalabs / aquameta

Web development platform built entirely in PostgreSQL
GNU General Public License v3.0
1.1k stars 52 forks source link

endpoint: Audit error message propagation in datum.js #234

Closed erichanson closed 1 year ago

erichanson commented 3 years ago

Endpoint now generates descriptive, helpful error messages including the full PostgreSQL error that occurred. These can be extraordinarily helpful for debugging. But right now they just output to console.log. Figure out what we need to do to get back a descriptive JSON object that contains the error title and message. Might require modifications to the errors that endpoint generates, namely converting them to JSON when appropriate.

erichanson commented 1 year ago

They are much better now.