static void SafeDeleteShelve(IRestApi restApi, string repository, int shelveId) { try { restApi.DeleteShelve(restApi, repository, shelveId); } catch (Exception e) { mLog.ErrorFormat( "Unable to delete shelve {0} on repository '{1}': {2}", shelveId, repository, e.Message); mLog.DebugFormat( "StackTrace:{0}{1}", Environment.NewLine, e.StackTrace); } }
internal static void DeleteShelve( IRestApi restApi, string repoName, int shelveId) { restApi.DeleteShelve(repoName, shelveId); }