aquametalabs / aquameta

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

datum: verbose errors on exceptions #153

Closed erichanson closed 3 years ago

erichanson commented 5 years ago

datum.js line 409 -- refactor to throw both exception title, and "long" error message -- aka what's output to the console. Instead of just "Bad request", have access to the full details of the exception so we can show the user.

erichanson commented 3 years ago

This has been much improved with a98db6689055a7e23f89d9d43da9d385f9cd6549 and the use of PostgreSQL's GET STACKED DIAGNOSTICS. Changes to datum.js are in the bundle commit in the next IDE bundle push.