0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

No longer use erlang:get_stacktrace/0

It has been deprecated in OTP and the new way is available
on all supported OTP versions.
This commit is contained in:
Loïc Hoguin 2019-12-31 15:10:38 +01:00
parent 3b85b808ae
commit 3a7232b019
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
12 changed files with 79 additions and 137 deletions

View file

@ -53,9 +53,7 @@ normal::
{crash, Class, Reason}::
A crash occurred in the handler. `Class` and `Reason` can be
used to obtain more information about the crash. The function
`erlang:get_stacktrace/0` can also be called to obtain the
stacktrace of the process when the crash occurred.
used to obtain more information about the crash.
== Exports

View file

@ -65,9 +65,7 @@ stop::
{crash, Class, Reason}::
A crash occurred in the handler. `Class` and `Reason` can be
used to obtain more information about the crash. The function
`erlang:get_stacktrace/0` can also be called to obtain the
stacktrace of the process when the crash occurred.
used to obtain more information about the crash.
== Changelog

View file

@ -76,9 +76,7 @@ normal::
{crash, Class, Reason}::
A crash occurred in the handler. `Class` and `Reason` can be
used to obtain more information about the crash. The function
`erlang:get_stacktrace/0` can also be called to obtain the
stacktrace of the process when the crash occurred.
used to obtain more information about the crash.
== REST callbacks

View file

@ -112,9 +112,7 @@ timeout::
{crash, Class, Reason}::
A crash occurred in the handler. `Class` and `Reason` can be
used to obtain more information about the crash. The function
`erlang:get_stacktrace/0` can also be called to obtain the
stacktrace of the process when the crash occurred.
used to obtain more information about the crash.
{error, badencoding}::
A text frame was sent by the client with invalid encoding. All