Skip to content

Commit 342320b

Browse files
committed
docs: update docs
1 parent cbed761 commit 342320b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/hypertrace/agent/instrumentation/aws_lambda/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ <h1 class="title">Module <code>hypertrace.agent.instrumentation.aws_lambda</code
7979
)
8080

8181
lambda_event = args[0]
82+
if isinstance(lambda_event, dict) is False:
83+
logger.warning(&#34;Received unexpected lambda event&#34;)
84+
logger.debug(&#34;Actual lambda event: %s&#34;, lambda_event)
85+
return call_wrapped(*args, **kwargs)
8286

8387

8488
parent_context = aws_lambda._determine_parent_context( # pylint:disable=W0212
@@ -269,6 +273,10 @@ <h2 class="section-title" id="header-classes">Classes</h2>
269273
)
270274

271275
lambda_event = args[0]
276+
if isinstance(lambda_event, dict) is False:
277+
logger.warning(&#34;Received unexpected lambda event&#34;)
278+
logger.debug(&#34;Actual lambda event: %s&#34;, lambda_event)
279+
return call_wrapped(*args, **kwargs)
272280

273281

274282
parent_context = aws_lambda._determine_parent_context( # pylint:disable=W0212

docs/hypertrace/version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h1 class="title">Module <code>hypertrace.version</code></h1>
3030
<pre><code class="python"># Code generated by ./release.sh. DO NOT EDIT.
3131

3232
&#34;&#34;&#34;Package version&#34;&#34;&#34;
33-
__version__ = &#34;0.14.2-dev&#34;</code></pre>
33+
__version__ = &#34;0.15.1-dev&#34;</code></pre>
3434
</details>
3535
</section>
3636
<section>

0 commit comments

Comments
 (0)