From 3a7232b019f975a594a696eace46abcbfeec5b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 31 Dec 2019 15:10:38 +0100 Subject: No longer use erlang:get_stacktrace/0 It has been deprecated in OTP and the new way is available on all supported OTP versions. --- doc/src/manual/cowboy_handler.asciidoc | 4 +--- doc/src/manual/cowboy_loop.asciidoc | 4 +--- doc/src/manual/cowboy_rest.asciidoc | 4 +--- doc/src/manual/cowboy_websocket.asciidoc | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) (limited to 'doc/src/manual') diff --git a/doc/src/manual/cowboy_handler.asciidoc b/doc/src/manual/cowboy_handler.asciidoc index 93dad22..9ffdd1c 100644 --- a/doc/src/manual/cowboy_handler.asciidoc +++ b/doc/src/manual/cowboy_handler.asciidoc @@ -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 diff --git a/doc/src/manual/cowboy_loop.asciidoc b/doc/src/manual/cowboy_loop.asciidoc index 605e265..000149d 100644 --- a/doc/src/manual/cowboy_loop.asciidoc +++ b/doc/src/manual/cowboy_loop.asciidoc @@ -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 diff --git a/doc/src/manual/cowboy_rest.asciidoc b/doc/src/manual/cowboy_rest.asciidoc index b783a25..a445948 100644 --- a/doc/src/manual/cowboy_rest.asciidoc +++ b/doc/src/manual/cowboy_rest.asciidoc @@ -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 diff --git a/doc/src/manual/cowboy_websocket.asciidoc b/doc/src/manual/cowboy_websocket.asciidoc index 59d412d..a11ca18 100644 --- a/doc/src/manual/cowboy_websocket.asciidoc +++ b/doc/src/manual/cowboy_websocket.asciidoc @@ -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 -- cgit v1.2.3