Pushing errors to Error out
Posted: Sun Jan 13, 2019 11:35 pm
				
				Hello, 
Can I push any error in a script to the error out connector?
Or must I have a try catch and the catch pushes the error the way I want?
If try/catch was the way, then do I copy the problem bit of code like this?
Ideally - 
What I'd really like is a neat way to capture any error whatsoever and have it push to Error Out
			Can I push any error in a script to the error out connector?
Or must I have a try catch and the catch pushes the error the way I want?
If try/catch was the way, then do I copy the problem bit of code like this?
Code: Select all
	try {
		problem code in its entirety even if it is several lines long;
	} catch (e) {
		job.sendToData( 3, job.getPath() );
	}What I'd really like is a neat way to capture any error whatsoever and have it push to Error Out