Skip to content

Commit 747c3d3

Browse files
committed
Remove unused validation fns
1 parent 4ef2ef9 commit 747c3d3

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

lib/sentry/config.ex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,15 +1096,4 @@ defmodule Sentry.Config do
10961096
{:error,
10971097
"expected :oban_tags_to_sentry_tags to be nil, a function with arity 1, or a {module, function} tuple, got: #{inspect(other)}"}
10981098
end
1099-
1100-
def __validate_should_report_error_callback__(nil), do: {:ok, nil}
1101-
1102-
def __validate_should_report_error_callback__(fun) when is_function(fun, 2) do
1103-
{:ok, fun}
1104-
end
1105-
1106-
def __validate_should_report_error_callback__(other) do
1107-
{:error,
1108-
"expected :should_report_error_callback to be nil or a function with arity 2, got: #{inspect(other)}"}
1109-
end
11101099
end

0 commit comments

Comments
 (0)