Fix exceptions raised from Collection values by jpbempel · Pull Request #10322 · DataDog/dd-trace-java
Some RuntimeException thrown by collection values (ListValue, MapValue or SetValue) may not be caught correctly and handled as EvaluationError leading to exception bubbling up to catches into instrumented code but lost and only reported as telemetry logs. All exceptions in collection values are now either IllegalArgumentException or UnsupportedOperationException and handled as such in collection expressions and index expression. As a a safety net, all expression evaluations are wrapped with a catch all exceptions to be wrapped as an EvaluationError with the full expression string.
jpbempel
deleted the
jpbempel/fix-uncaught-ex-eval-el
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters