This topic contains 1 reply, has 2 voices, and was last updated by  Jeff Drumm 8 years, 2 months ago.

Error in Filter Translator causing message to be skipped

  • I have created a Filter Translator in my channel. One of the first lines of code in the “main” function is:


    The filter is only allowing certain message types to pass through the channel. Afterwards, there is some processing of the message performed in the Filter Translator. The issue I’m having is that if an error is raised during the processing of the message, then the message does not pass through the filter to the destination. Instead, an informational message is logged stating “Skipping message.” Is there a way to force a message to pass through a filter even if an error is raised?


    Is there some reason you wouldn’t want to trap the error? You might want to take a look at the pcall() function.

    Jeff Drumm ◊ VP and COO ◊ HICG, LLC. ◊

You must be logged in to reply to this topic.