Skip to content

Commit 50e9ee6

Browse files
committed
Undo latest merge
1 parent 96b9ae9 commit 50e9ee6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/bypass/plug.ex

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,7 @@ defmodule Bypass.Plug do
1818
conn
1919
catch
2020
class, reason ->
21-
stacktrace = unquote do
22-
if Version.match?(System.version(), ">= 1.7.0") do
23-
quote do: __STACKTRACE__
24-
else
25-
quote do: System.stacktrace()
26-
end
27-
end
28-
21+
stacktrace = __STACKTRACE__
2922
put_result(pid, route, ref, {:exit, {class, reason, stacktrace}})
3023
:erlang.raise(class, reason, stacktrace)
3124
end

0 commit comments

Comments
 (0)