diff options
author | Björn Gustavsson <[email protected]> | 2017-05-10 07:25:50 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-05-11 12:17:18 +0200 |
commit | 5d7e12f4d037f74602029850bbd29e38c3732b48 (patch) | |
tree | 98e6598bc03dd97fa1dd34b300dbd2e8736549b8 /erts | |
parent | 3681218fc3193693f4a22c818925a2765b5121fb (diff) | |
download | otp-5d7e12f4d037f74602029850bbd29e38c3732b48.tar.gz otp-5d7e12f4d037f74602029850bbd29e38c3732b48.tar.bz2 otp-5d7e12f4d037f74602029850bbd29e38c3732b48.zip |
snmp_generic: Future-proof exception handling code
In the future, erlang:get_stacktrace/0 will probably only work
inside a the 'catch' block of a 'try' expression.
Future-proof the code by rewriting the old-style catch to
a try...catch.
Diffstat (limited to 'erts')
0 files changed, 0 insertions, 0 deletions