You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,@joeyzhao2018 , I'm getting a few error messages coming from the wrapper.py,
It comes as info and not as an error, that's my guess to why it was missed for awhile.
I assume this is because our lambda function returns as string and not an object(json?) which the extension expect so self.response is an str.
As far as I can see, any lambda run which returns a string
Specifications
Datadog Lambda Layer version: 35
Python version: 3.9
Stacktrace
File "/opt/python/lib/python3.9/site-packages/datadog_lambda/wrapper.py", line 281, in _after
and self.response.get("principalId")
AttributeError: 'str' object has no attribute 'get'
The text was updated successfully, but these errors were encountered:
Expected Behavior
Hi all,@joeyzhao2018 , I'm getting a few error messages coming from the wrapper.py,
It comes as info and not as an error, that's my guess to why it was missed for awhile.
I assume this is because our lambda function returns as string and not an object(json?) which the extension expect so self.response is an str.
I think the issue was introduced by this PR
Actual Behavior
Steps to Reproduce the Problem
As far as I can see, any lambda run which returns a string
Specifications
Stacktrace
The text was updated successfully, but these errors were encountered: