Skip to content

Commit 3f28901

Browse files
committed
return value properly
1 parent 70d7f17 commit 3f28901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sentry/plug.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ defmodule Sentry.Plug do
145145
value = cond do
146146
Enum.member?(@default_scrubbed_param_keys, key) -> @scrubbed_value
147147
Regex.match?(@credit_card_regex, value) -> @scrubbed_value
148-
true -> true
148+
true -> value
149149
end
150150

151151
{key, value}

0 commit comments

Comments
 (0)