82004: Function execution resulted in a warning log
SERVERLESS
WARNING
This warning appears when your Function logs a warning-level message during execution, such as with console.warn(). Warning and error logs are available through Serverless logs and also appear in Debugger.
- Your Function code calls
console.warn()during execution. - A request or event reaches a code path in your Function that writes a warning message.
- Review the warning message shown with the execution to identify which part of your Function logged the warning.
- Enable live logs in the Console while you test your Function so you can see
consoleoutput in real time. - Retrieve the warning from Serverless logs by using the Logs resource or the CLI. You can list logs with
twilio api:serverless:v1:services:environments:logs:listor tail logs withtwilio serverless:logs --tail.