From the course: Developing Skills for AWS Alexa
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Troubleshooting with CloudWatch - Amazon Web Services (AWS) Tutorial
From the course: Developing Skills for AWS Alexa
Troubleshooting with CloudWatch
- [Instructor] Now that Alexa can understand our complete pizza order intent, I want to show what happens if we make a mistake in our code. Let's say here, instead of looking for slots.crust, we had a typo. I'll put a two there and deploy the change. Slots.crust2 isn't going to exist and this is going to trigger an error. Now that the deploy has gone through, let's head over to the test tab and ask Pizza Dog for a cheese pizza. - [Alexa] What sort of crust do you want? - [Instructor] We'll go through dialogue delegation. - [Alexa] What size of pizza? - [Instructor] And then... - [Alexa] Sorry I had trouble doing what you asked. Please try again. - [Instructor] Remember that phrase? Sorry I had trouble. That's our generic error handler right here at the bottom of the code. But we don't get a whole lot of information. However, take a look here. Console.log the error is being spit out somewhere. That somewhere is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.