Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Try to select the check box "Die on error" of the tProgresqlOutput"
2. Is it possible to append the Error Message to the E-Mail which gets send on "Subjob Error"
Hi,
Statistics table records details like begin Time, End Time which is generated by any job.
Logs table records the messages from Java Exception, tDie and/or tWarn (prerequisite: there must be an error in your job).
For your use case, your job is finished successfully with Java Exception.
2. Is it possible to append the Error Message to the E-Mail which gets send on "Subjob Error"
Do you want to send error message printed on console to email? If so, here is a global variable called ((String)globalMap.get("tPostgresqlOutput_1_ERROR_MESSAGE")). You can use it in tsendmail.
Here is a related forum https://community.talend.com/t5/Design-and-Development/resolved-Param%C3%A9trage-du-tSendMail/td-p/9..., hope it will be helpful for you.
Best regards
Sabrina
Hi,
You can use both Stat&log in job view/project setting and tlogcatcher component in your job design.
Best regards
Sabrina