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
When a value passed to lambda_metric() is of an incorrect value or type (not something that can be sent as a metric), a TypeError or ValueError should be raised.
Actual Behavior
In the example below, neither call actually goes through and no exception is raised in the main thread. This makes debugging a nightmare.
We received a similar request here, and the answer will be similar here. We never want to cause a lambda function execution to halt, so raising a TypeError or ValueError will be incorrect here.
We are open to adding validation, ideally we'd do so at the agent level so that it would cover all runtimes. Presumably the correct response here would be to log an error? If we did this at the WARN level, would that seem appropriate?
Expected Behavior
When a value passed to
lambda_metric()
is of an incorrect value or type (not something that can be sent as a metric), aTypeError
orValueError
should be raised.Actual Behavior
In the example below, neither call actually goes through and no exception is raised in the main thread. This makes debugging a nightmare.
Steps to Reproduce the Problem
Specifications
v73
andv75
3.10
Stacktrace
The text was updated successfully, but these errors were encountered: