added more logging
This commit is contained in:
parent
778b9ac634
commit
4b92c0f848
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user