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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
GS86
Contributor II
Contributor II

trest kicks out on sockettimeout error

Hi, i am using Talend v 8 and when i encounter socket timeout it is kicking me out with error code :: [Exit code = 1]
instead i want to gracefully handle it. Please let me know if someone have solution.

Thank you.

Labels (3)
1 Reply
quentin-vigne
Partner - Creator II
Partner - Creator II

Hi @GS86 

To end your job in a better way, I advise you to use a tLogCatcher component which will handle the error message and you can then do whatever you want with it.

When using the tLogCatcher you can also add a tDie component and connect it to your tRest with a "OnComponentError" link in order to manage the error log more "gracefully"

If you just wish to use the tLogCatcher use the checkbox "Catch Java Exception" and "Catch tJobFailure"

Otherwise just check everything and add the components to your job to get better error messages.

I'll leave you this documentation that explains it, it's available in differents languages : https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-12/using-tdie-twarn-and-tlogcatcher-f...

 

- Quentin