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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
peterko
Contributor III
Contributor III

[resolved] Catch Error from subjob

Hello,
I need to catch errors in any job, subjob, etc ...
I have setup catching exceptions in the project settings (Stat & Logs).
Problem is, that if is an error in any subjob, it returns me only the message 'java.lang.RuntimeException: Child job running failed'. 
I need to know about exactly what the error was. Is it possible to globally set to errors transmitted from subjob to the capital job?
Labels (3)
1 Solution

Accepted Solutions
peterko
Contributor III
Contributor III
Author

I used the initially option File / Edit Project Properties / Job Settings / Stats & Logs 
This does not promote Stats & Logs on all subjobs. 
After opening the main Job in the bottom bar in View / Job I selected the option Apply to sub jobs. From now logging works 
Thank you

View solution in original post

4 Replies
Anonymous
Not applicable

Hi,
Trace information is not available in the logs... This is available only in console. You will have to redirect console trace to flat file or database table...
Vaibhav
peterko
Contributor III
Contributor III
Author

But when I use in the subjob tLogCatcher, then catch the error and not just where the error occurred. Why?
Anonymous
Not applicable

Actually you should see in the log of the parent job also the detailed message from the child job. Could you please check the Log&Stats settings for the child job, Log output must be enabled here as well.
peterko
Contributor III
Contributor III
Author

I used the initially option File / Edit Project Properties / Job Settings / Stats & Logs 
This does not promote Stats & Logs on all subjobs. 
After opening the main Job in the bottom bar in View / Job I selected the option Apply to sub jobs. From now logging works 
Thank you