<?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 Web Service with tRestRequest don't log exceptions in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Web-Service-with-tRestRequest-don-t-log-exceptions/m-p/2208025#M7425</link>
    <description>&lt;P&gt;I developed a web service with Talend Open Studio for ESB 7.2.1 and deploy it in Runtime_ESBSE and everything works, but when the job throws an unexpected exception, it does not register it in the log. I already have configured Stast &amp;amp; Logs in my project and my job, and this configuration works with other jobs that are not web services rest,&amp;nbsp;in fact when the exception is thrown before the web service is deployed, it is registered.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Additionally, if I use a Log Catcher component, the exception is captured but not registered in the Log &amp;amp; Stats files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I show you an dummy example of a Web service that throws a premeditated Exception:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M96y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136833i467F70F0D0AF90EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M96y.png" alt="0683p000009M96y.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend2.png" style="width: 852px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M973.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153243i533D6925C1E51731/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M973.png" alt="0683p000009M973.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8kK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144220iA9C0CA59F3133F36/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8kK.png" alt="0683p000009M8kK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I call the web service using postman, I see the exception in console, but the exception in not in the DB nither the file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M978.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132535i29A317E165AF44C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M978.png" alt="0683p000009M978.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:13:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T03:13:06Z</dc:date>
    <item>
      <title>Web Service with tRestRequest don't log exceptions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Web-Service-with-tRestRequest-don-t-log-exceptions/m-p/2208025#M7425</link>
      <description>&lt;P&gt;I developed a web service with Talend Open Studio for ESB 7.2.1 and deploy it in Runtime_ESBSE and everything works, but when the job throws an unexpected exception, it does not register it in the log. I already have configured Stast &amp;amp; Logs in my project and my job, and this configuration works with other jobs that are not web services rest,&amp;nbsp;in fact when the exception is thrown before the web service is deployed, it is registered.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Additionally, if I use a Log Catcher component, the exception is captured but not registered in the Log &amp;amp; Stats files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I show you an dummy example of a Web service that throws a premeditated Exception:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M96y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136833i467F70F0D0AF90EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M96y.png" alt="0683p000009M96y.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend2.png" style="width: 852px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M973.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153243i533D6925C1E51731/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M973.png" alt="0683p000009M973.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8kK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144220iA9C0CA59F3133F36/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8kK.png" alt="0683p000009M8kK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I call the web service using postman, I see the exception in console, but the exception in not in the DB nither the file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M978.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132535i29A317E165AF44C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M978.png" alt="0683p000009M978.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Web-Service-with-tRestRequest-don-t-log-exceptions/m-p/2208025#M7425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:13:06Z</dc:date>
    </item>
  </channel>
</rss>

