added more logging

This commit is contained in:
Gert Wohlgemuth 2018-06-06 09:48:09 -07:00
parent 778b9ac634
commit 4b92c0f848

View File

@ -15,6 +15,7 @@ def store(event, context):
for x in event['Records']:
if 'Sns' in x and 'Message' in x['Sns']:
data = json.loads(x['Sns']['Message'], use_decimal=True)
print("storing data: {}".format(data))
get_trade_table().put_item(Item=data)