balmbees / dynamo-types

Typescript AWS DynamoDB ORM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS_XRAY_CONTEXT_MISSING and AWS_XRAY_DAEMON_ADDRESS is set

thakursunakshi opened this issue · comments

getting this error on aws
AWS_XRAY_CONTEXT_MISSING is set. Configured context missing strategy to LOG_ERROR
AWS_XRAY_DAEMON_ADDRESS is set. Configured daemon address to

commented

First, That's not an "Error". that's just a log from aws-xray-sdk of informing xray configurations.
Second, what kind of environment are you in on AWS? is it ec2 or lambda or..

lambda
due to this, I am unable to save data in dynamodb

commented

Well in short, this doesn't have any effect other than showing that log, so you can ignore it.
As of xray usage, unless you set the environment variable dynamo-typeorm doesn't use xray (code)
but xray-sdk itself has sort of bug that if you just "require" that package even without actually using it, it still print out that log. currently, i have no plan for fixing it since it's really xray-sdk problem

commented

closing because of lack of response