Feb 19, 2025
Close spans when an error occurs in an Appsignal.instrument instrumented function
Elixir2.13.4
Fixed
-
Close instrumentation spans when an error occurs inside the
Appsignal.instrument
helper's function argument. This prevents spans and traces from not being closed properly.This will no longer fail to close spans:
ElixirAppsignal.instrument("event name", fn -> do raise "Oh no!" end)
View the Elixir package v2.13.4 changelog for more information.