Trying to handle error returned from Postgres function

I’ve got a previous_id field to keep a hierachy of items in the database. I’ve aded an is unique contraint to it and hoped to handle it in WeWeb if that happens.

I use the built in Postgres function which goes red so there’s definitely an error there to catch

But the error does not show here

How can i get this to catch an error and let me handle it?

Hi @mrtheernie

Have you tried getting the errors from each actions?