How to display an error in Web UI from a script ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 07:51 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 08:27 AM
Hello
If there is nothing in server.log, then check the browser console => you should have errors there.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 08:32 AM
Nono, the error appears in server.log but I'm trying to display an error in both server.log and web.ui localhost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 02:16 PM
That's not a good idea to mix backend and frontend logging.
