I’m writing a custom function and I’m able to add it to a pipeline. However, when I try to process an event, I get an error.
Here’s the content of my index.js:
exports.name = ‘MyCustomFunction’;
exports.group = ‘Custom Functions’;
exports.version = 0.1;
exports.init = (opts) => {
const conf = opts.conf || {};
};
exports.process = (event) => {
return event; // noop
};
I’m unable to find where, if any, error messages are written to the logs. I looked at the logs under Monitoring (Logs tab) and docker logs with no success.
Are errors of this type written anywhere?