Lambda Resolver - Top Level Errors not being logged in amplify mock #6311
Labels
feature-request
Request a new feature
mock
Issues tied to the mock functionality
pending-release
Code has been merged but pending release
Describe the bug
When requiring an invalid package, the function will simply timeout with no indication of what the error is.
Amplify CLI Version
4.41.0
To Reproduce
require
statement before the handler is defined.amplify mock
Expected behavior
Print the error in the console and fail. Not timeout.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: