lib: remove empty and redundant catch block
This file contains two empty catch blocks, which is a bad practice by itself. This PR fixes one empty catch block, which probably tried to avoid object destructuring error.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines