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:
parent
3b85b808ae
commit
3a7232b019
12 changed files with 79 additions and 137 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue