Catch tDie before java exception in tLogCatcher

Four Stars

Catch tDie before java exception in tLogCatcher

Hello !

I have a question about using the tLogCatcher component.

Today if I check "Get Java Exceptions" and "Get tDie" in the tLogCatcher component, I get the impression that java exceptions always have priority when an error occurs, even if there is a link "OncomponentError" on the component that is in error.

 

So, my question is: Is there a way to retrieve these 2 informations at the same time or if we can get the tDie before the java exception?

 

Thank's !

 


Accepted Solutions
Community Manager

Re: Catch tDie before java exception in tLogCatcher

Hi param75

It is normal, because the Java exception occurs before tDie which is linked with 'onComponentError' or 'OnsubjobError', tLogCatcher captures the error immediately once an error is thrown.

 

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post


All Replies
Community Manager

Re: Catch tDie before java exception in tLogCatcher

Hi param75

It is normal, because the Java exception occurs before tDie which is linked with 'onComponentError' or 'OnsubjobError', tLogCatcher captures the error immediately once an error is thrown.

 

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog