private void _connector_Error(object sender, SvnExceptionEventArgs e) { var errorString = string.Format( "Error accessing Subversion repository: Path='{0}', Username='******', Password='******'. " + "The service will be disabled until ServiceHost is restarted.", repositoryPath, username, password); Logger.Log(errorString, e.Exception); EventManager.Unsubscribe(PubType, PokeRepository); }