Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
michaelh1
Contributor II
Contributor II

Get whole Exception object from job

Hello,

is there any way to get whole Exception object in case my job throws exception? At the moment i am using tLogCatcher to catch exceptions but from this component i can only get String object "message"

Labels (2)
1 Reply
JohnRMK
Creator II
Creator II

Hello,

 

You can transfer all console logos in a text file for example

 

Use this code on tJava at the begining (prejob)

 

java.io.File file = new java.io.File(jobName + "_" + TalendDate.formatDate("yyyy-MM-dd", TalendDate.getCurrentDate())+"_verbose");

java.io.PrintStream ps = new java.io.PrintStream(new java.io.FileOutputStream(file));

System.setOut(ps);

System.setErr(ps);