We loose information on ERROR_MESSAGE depending if i use a component or not.
The first test was made without using a component.
The Test Job...
The XML file with an error on line 1 (the second node) :
according to the schema, the value "B" must be an INTEGER.
The console with the error message : "For input string: "B"
In the second test, we added a "Reject" to a tLogRow.
The console log show a better ERROR_MESSAGE in the sense that we now have the line number that caused the error.
The Test Job modified with a "Reject" to a tLogRow
The console is now displaying the error with a very usefull addtionnal information " - Line: 1"
In conclusion, without the "Reject" we have a poor ERROR MESSAGE and when i use a "Reject" to a tLogRow we have only an information message.
Question : what is the path to have a verbose and undenatured log message ?
Instead of tlog, if your goal is achieve more detailed info about your possible errors at the subjob, I highly recommend you use the tLogCatcher component. With it you can extract all detailed information about your job errors.
Pls, give me some Kudos if my response help you
Thanks for your time and attention.
Thank you for your response.
I have tried using a tLogCatcher. Unfortunately the error message remains poor and did not contains the line number causing the error.
@DREYNAUD ,what was the column data type for debut? i believe it you might have specified number or Integer.since you are getting sting kind of data for the second record,if you change the date type to sting ,you should not get this error.
Join us at the Community Lounge.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Learn how and why companies are moving to the Cloud