Check for same exception as we did with dbapi2