Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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