diff options
author | Björn Gustavsson <[email protected]> | 2017-05-10 07:31:53 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-05-11 12:16:22 +0200 |
commit | ba5d07704cc4b54139c48c7d034f389a31c37a89 (patch) | |
tree | 3075122069bcfe11aec5050437b11f8a88ccf31a /lib/common_test/src/ct_netconfc.hrl | |
parent | 0e1e34a49cca0f077bc596954304a83fa9e403a8 (diff) | |
download | otp-ba5d07704cc4b54139c48c7d034f389a31c37a89.tar.gz otp-ba5d07704cc4b54139c48c7d034f389a31c37a89.tar.bz2 otp-ba5d07704cc4b54139c48c7d034f389a31c37a89.zip |
ct_util: Stop using get_stacktrace/0 inappropriately
The return value of erlang:get_stacktrace/0 is not defined
when called like this:
try Expr of
Pattern ->
erlang:get_stacktrace()
end
Currently, the stacktrace will be from a random earlier error.
In a future release, it may be [].
Note: We can remove the entire 'case' statement because
CTHReason can never be an atom.
Diffstat (limited to 'lib/common_test/src/ct_netconfc.hrl')
0 files changed, 0 insertions, 0 deletions