added error reporting to get_objects