Handle tS3Connection failure in Talend

470 Views Asked by At

I'm using the tS3Connection component and when I give it an invalid Access Key the console is showing a 403 error coming back from Amazon, but Talend is not catching that error if I connect the the component to a tDie component via OnSubJobError.

enter image description here

The rest of the job continues to proceed as if nothing is wrong which is not OK. Is there a way for me to catch this error and die gracefully?

Also if I try to read the ERROR MESSAGE attribute from the tS3Connection component, it always returns a null.

0

There are 0 best solutions below