Skip to content

Commit

Permalink
More trace debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnfish committed Dec 19, 2023
1 parent 33abfc4 commit 75bc98c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class Lambda {
case "$default" =>
Option(AWSXRay.getCurrentSubsegment) match {
case Some(subsegment) =>
awsContext.getLogger.log(subsegment.getTraceId.toString)
awsContext.getLogger.log("TRACE ID: " ++ subsegment.getTraceId.toString)
case None =>
awsContext.getLogger.log("No subsegment found")
awsContext.getLogger.log("TRACE ID: No subsegment found")
}

val subsegment = AWSXRay.beginSubsegment("io.adamnfish.pokerdot.Lambda::handleRequest:$default")
Expand Down

0 comments on commit 75bc98c

Please sign in to comment.