Skip to content

Commit

Permalink
added metrics debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Mar 10, 2021
1 parent e7c123c commit 7f2f698
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/lambda/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package main

import (
"encoding/json"
"fmt"
"math/rand"
"strings"
"time"
Expand Down Expand Up @@ -112,7 +113,9 @@ func logMetric(path string) {
dyna := dynamodb.New(sess)

// Update address record
_, _ = dyna.UpdateItem(input)
ret, err := dyna.UpdateItem(input)
fmt.Println(ret)
fmt.Println(err)
}

func getIndex(_ events.APIGatewayV2HTTPRequest) *events.APIGatewayV2HTTPResponse {
Expand Down

0 comments on commit 7f2f698

Please sign in to comment.