marekq/lambda-podcast

KeyError

Opened this issue · 0 comments

I'm getting this error when I run a test. What should I do?

'podcast_name': KeyError
Traceback (most recent call last):
File "/var/task/mp3.py", line 201, in handler
make_root()
File "/var/task/mp3.py", line 158, in make_root
title.text = os.environ['podcast_name']
File "/usr/lib64/python2.7/UserDict.py", line 40, in getitem
raise KeyError(key)
KeyError: 'podcast_name'