private bool TrySyncFromUpstream() { if (m_upstream == null) { return(false); } try { Properties properties = m_upstream.GetConfig(); UpdateFileProperties(properties); return(true); } catch (Exception ex) { logger.Warn( string.Format("Sync config from upstream repository {0} failed, reason: {1}", m_upstream.GetType(), ExceptionUtil.GetDetailMessage(ex))); } return(false); }