Stop stupid exception from ruining it all.
It turns out stoi
"returns failure" by throwing an exception.
Several messages emitted by VTK/PV do not match the pattern
expected by the redirector, causing exceptions. Trying to record
a test on macos is one such case (the QT_MAC_NO_NATIVE_MENUBAR
warning message has no file/line number info).