mailLib.send() in a try-catch but errors not caught