JavaScript has a built-in exception handling.
try {
throw new Error('Whoops!');
} catch (e) {
etlConfig.log(e.getMessage());
}
Optionally, you can log the error using etlConfig.log(error)
.
Read about adding debug information and adding information to the Flow log.
Comments
0 comments
Please sign in to leave a comment.