Transfer of error information to RestChannel

When Rasa Core executes a custom action, if there is an error during the action, the internal logger from the Action Server prints the error information and RestChannel (the default Rest channel that comes with Rasa) receives just “[]”.

In our project, we are trying to centralise all the errors, and this would involve RestChannel having information of the error that has occurred in the Action Server. Is there any way to transfer the error information from the Action Server to RestChannel?

Thank you in advance.

@sgudma you should catch exceptions/errors in your action implementation, and then you can transfer some information back via e.g. slot setting or something similar