Store system Error log in table or display error on screen

1
Hi Team, I want to store the error log in mendix database is it possible or if I can print the error on screen that will also fine. I have implemented below microflow but my log message is not displaying on screen it showing error msg in console.  
asked
2 answers
1

Hi Priyanka,

Maybe these resources come in handy:

https://docs.mendix.com/refguide/error-event/#22-inspecting-errors

https://docs.mendix.com/refguide/log-message/  → you can include a stack trace in the message

If you would like log messages in the Mendix database instead of just in a log file, you could decide to use a marketplace component like this one: https://marketplace.mendix.com/link/component/159 but be careful: they are community supported.

I hope this helps.

Michiel 

answered
0

If you want the error to show up at the screen, you need to use “Show message” with a parameter of the “$LatestError” variable. 

answered