test: fix syntax about try catch
add (e)
for try...catch
scope.
I think it will be better to add (e)
for try...catch
scope. Although it works well when I use ./output/Debug/node
to run this code.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines