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