Added some error handling regarding Sage server connections.