fixed issue with execeptions, most notably PDOExceptions bubbling upstream