We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, if an unrecognized station (not in VALUE_MATRIX) is found, an error occurs and Alexa says there was a problem.
VALUE_MATRIX
Relevant log from CloudWatch:
'Theme Meal': KeyError Traceback (most recent call last): File "/var/task/lambda_function.py", line 98, in lambda_handler speech = on_intent(event["request"], event["session"]) File "/var/task/lambda_function.py", line 33, in on_intent stations = parse_stations(page) File "/var/task/dining.py", line 194, in parse_stations stations.append(Station(name, items)) File "/var/task/dining.py", line 58, in __init__ self.value = Station.VALUE_MATRIX[name.strip()] KeyError: 'Theme Meal'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, if an unrecognized station (not in
VALUE_MATRIX
) is found, an error occurs and Alexa says there was a problem.Relevant log from CloudWatch:
The text was updated successfully, but these errors were encountered: