Log error messages from the backend to the UI Builder

As I am just setting my app online, I am creating a debugging UI in UI builder to make sure that I have no errors in the backend code. It looks like this:

Everything works fine, except I want a way to bring error messages from the backend to this dashboard. I cannot use the logging API as there is no way codeless block to pull the data into the front.

Is there another way to do this?

Hello @Andreas_Marinopoulos

What about saving errors in the database? In this case, you could retrieve all errors in UI.

Regards, Dima.

Hi @Dima, like having a separate table for errors?

Yes, you can store your log/error messages in the database. In that case, simply use the persistence API to save errors in a data table.

2 Likes