Dynamically get input parameters when error

Hello OS guru's!

When a error occourses we would like to send a email with the action name and the input parameters.

Is there a way to get those dynamically?



If you want to do it for every error on your application, you can do it on the Global Exception Handler:

Include also Emails on SecurityException and InvalidPermissions handler.


Along with jose's answer you can also add the email on if condition ,



I found a extension called Action info.

We are now doing it like this:

Only the GetActionInfo is not returning the values of the input parameters

Hi Freek,

Good morning!

Why do you need an extension?


To get the name of the current action.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.