Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Use tLogCatcher & tDie to add custom error message and send email

TOS Version: 3.1.0M1
I am trying to use tLogCatcher to catch all the Exceptions and Errors.
In the main job , whenever there is an error ( onComponentError ) , it invokes a tDie.
So the LogCatcher is getting 2 hits and hence its sending 2 emails.
I would like to just send 1 email with both the Original and custom message.
What is the best way to add custom error messages before sending an email.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello raj
We can define a context variable to catch the custom error message and add it to email. See my screenshot.
Best regards

shong

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hello raj
We can define a context variable to catch the custom error message and add it to email. See my screenshot.
Best regards

shong