Catch HTTP 404 error within tFileFetch

One Star

Catch HTTP 404 error within tFileFetch

Dear all,
I'm using tFileFetch to retrieve several files stored on different HTTP servers.
If one HTTP server doesn't respond, I want to log a message into an Oracle database.
It seems that if I connect a tFileFetch to a tWarm component with a OnComponentError relation, nothing happens.
Is there any way to catch this error (java.lang.Exception: Method failed: HTTP/1.1 404 Not Found) ?
Thanks in advance,
Renaud
Community Manager

Re: Catch HTTP 404 error within tFileFetch

hi
Using the tLogCapture to capture the java exception. The job looks like:
tFileFetch
tLogCapture---tLogRow
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch