<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tGPGDecrypt - How to capture non-zero return status and fail the job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tGPGDecrypt-How-to-capture-non-zero-return-status-and-fail-the/m-p/2318468#M88806</link>
    <description>Hi,&lt;BR /&gt;Have you tried to capture the Java excpetion, warning or die message by using tLogCatcher component in your work flow?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 10 Feb 2017 03:56:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-10T03:56:04Z</dc:date>
    <item>
      <title>tGPGDecrypt - How to capture non-zero return status and fail the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGPGDecrypt-How-to-capture-non-zero-return-status-and-fail-the/m-p/2318467#M88805</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm pretty new to Talend (this is my first week of actually doing something&amp;nbsp;&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;). 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.&lt;BR /&gt;&lt;BR /&gt;All works perfectly in an ideal world scenario. But I'm now stuck at error handling - corrupt gpg, incomplete .gz file etc.&lt;BR /&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How do I capture this return status and do something based on it?&lt;BR /&gt;&lt;BR /&gt;[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]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vishnu&lt;BR /&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/410461/Awesome_workflow.jpg.jpg" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGPGDecrypt-How-to-capture-non-zero-return-status-and-fail-the/m-p/2318467#M88805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-19T12:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: tGPGDecrypt - How to capture non-zero return status and fail the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGPGDecrypt-How-to-capture-non-zero-return-status-and-fail-the/m-p/2318468#M88806</link>
      <description>Hi,&lt;BR /&gt;Have you tried to capture the Java excpetion, warning or die message by using tLogCatcher component in your work flow?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 10 Feb 2017 03:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGPGDecrypt-How-to-capture-non-zero-return-status-and-fail-the/m-p/2318468#M88806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-10T03:56:04Z</dc:date>
    </item>
  </channel>
</rss>

