better error handling on version information retrieval