cancel
Showing results for 
Search instead for 
Did you mean: 

How to display an error in Web UI from a script ??

iker_nicolas
Champ on-the-rise
Champ on-the-rise

Hello, I have a script with conditional sentences, where in the else clause of one of them the script shows an error comment in the server.log with the help of the operation console.log.

The problem is that in the server nothing advise that an error has happened, so I'm trying to display a comment or an exception but without luck. Any idea; Thanks

3 REPLIES 3

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello

If there is nothing in server.log, then check the browser console => you should have errors there.

Regards

Nono, the error appears in server.log but I'm trying to display an error in both server.log and web.ui localhost.

That's not a good idea to mix backend and frontend logging.