mysql module getOne. better error handling for an empty result