aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmp_generic.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-10 07:25:50 +0200
committerBjörn Gustavsson <[email protected]>2017-05-11 12:17:18 +0200
commit3681218fc3193693f4a22c818925a2765b5121fb (patch)
tree4e71e093ed01186bed40dcc36fe26cb31b343b60 /lib/snmp/src/agent/snmp_generic.erl
parentba5d07704cc4b54139c48c7d034f389a31c37a89 (diff)
downloadotp-3681218fc3193693f4a22c818925a2765b5121fb.tar.gz
otp-3681218fc3193693f4a22c818925a2765b5121fb.tar.bz2
otp-3681218fc3193693f4a22c818925a2765b5121fb.zip
qlc: 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 'lib/snmp/src/agent/snmp_generic.erl')
0 files changed, 0 insertions, 0 deletions