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_rest.asciidoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/src/manual/cowboy_rest.asciidoc') 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 -- cgit v1.2.3