Skip to content

Commit 74f4be7

Browse files
committed
can't trim a nil whoops
1 parent 8ac61a5 commit 74f4be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/open_telemetry_decorator/attributes.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule OpenTelemetryDecorator.Attributes do
2626
def attribute_prefix do
2727
prefix =
2828
:open_telemetry_decorator
29-
|> Application.get_env(:attr_prefix)
29+
|> Application.get_env(:attr_prefix, "")
3030
|> String.trim()
3131
|> String.trim_trailing(".")
3232

0 commit comments

Comments
 (0)