Closed coreylight closed 6 years ago
@kolanos the try/catch on require
statements is the only mechanism to catch these types of errors that I know of. I'm not sure what kind of documentation you're looking for? We surface the error that is caught to IOpipe (as it does currently).
By moving the require block outside of the handler, AWS can properly use performance enhancements on their side to optimize the cold start.
fix #77