Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm pretty new to Talend (this is my first week of actually doing something ). I'm trying to migrate a job into Talend (TOS 6.1 jobserver on linux) which reads *.gz.gpg files, decrypts, gunzips and writes out after transform. So I figured out from this Forum topics how to list files, iterate, decrypt, gunzip, ignore already processed files and update processed file list - thanks for that.
All works perfectly in an ideal world scenario. But I'm now stuck at error handling - corrupt gpg, incomplete .gz file etc.
tGPGDecrypt does not fail when processing a corrupt gpg file. But job prints out error message in the console (see below). tGPGDecrypt_1_ERROR_MESSAGE has only null populated in it.
How do I capture this return status and do something based on it?
[color=#ff6666][INFO ]: talend_etl.gpg_decrypt_0_1.gpg_decrypt - TalendJob: 'gpg_decrypt' - Done. gpg: no valid OpenPGP data found. gpg: decrypt_message failed: Unknown system error[/color]
Thanks
Vishnu