Callback error handler printing input information

Hi all,
I am currently implementing the callback error handlers in my app. After some reading and searching I haven’t found a way to somehow dump the input of a callback into the error.
Do you guys have an idea how this could work? Essentially I have one (more or less) global dcc.Store component, which contains many of the important parameters in order to reproduce the error.

Is there a way to include this into the error_handler somehow?

Many thank in advance and all the best :slight_smile:

I think ‘callback context’ should give you the values of the inputs to the callback from within the error handler.

from dash import ctx

def custom_error_handler(err):
    ...
    callback_inputs = ctx.args_grouping # a list

Info at thse two links:

Thank you that is what I was looking for. Maybe one additional/follow-up question. Is there also a way (I don’t see any contect argument) to get the name of the callback function that threw the error?