Closed kolanos closed 6 years ago
The plugin should wrap handlers as imports to catch any runtime errors that occur outside of the handler itself.
Example:
const iopipe = require('@iopipe/iopipe')(); module.exports = iopipe((event, context) => require('./handler')(event, context));
The plugin should wrap handlers as imports to catch any runtime errors that occur outside of the handler itself.
Example: