implement getInfo, prevent forever loop on system_error