Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
gun
gun-1.3.3-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gun-1.3.3-stacktrace.patch of Package gun
diff -Ndurp gun-1.3.3/src/gun.erl gun-1.3.3-stacktrace/src/gun.erl --- gun-1.3.3/src/gun.erl 2020-08-25 12:23:37.000000000 +0300 +++ gun-1.3.3-stacktrace/src/gun.erl 2022-07-27 05:29:47.677022614 +0300 @@ -14,10 +14,6 @@ -module(gun). --ifdef(OTP_RELEASE). --compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}). --endif. - %% Connection. -export([open/2]). -export([open/3]). @@ -651,7 +647,7 @@ proc_lib_hack(Parent, Owner, Host, Port, _:normal -> exit(normal); _:shutdown -> exit(shutdown); _:Reason = {shutdown, _} -> exit(Reason); - _:Reason -> exit({Reason, erlang:get_stacktrace()}) + _:Reason:Stacktrace -> exit({Reason, Stacktrace}) end. init(Parent, Owner, Host, Port, Opts) ->
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor