From d5b5545f5bd4facd990634384b3176fb9f27f3e2 Mon Sep 17 00:00:00 2001 From: Victor Castillo Escoto Date: Wed, 7 Oct 2015 12:14:05 -0400 Subject: [PATCH] Add .com links to PrivateRepositoryQuotaExceededException Add following links: - 'Deleting a repository' at https://help.github.com/articles/deleting-a-repository/ - 'What plan should I use?' at https://help.github.com/articles/what-plan-should-i-choose/ --- .../Exceptions/PrivateRepositoryQuotaExceededException.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs b/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs index 1017b5dcac..47aec19a62 100644 --- a/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs +++ b/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs @@ -29,8 +29,9 @@ public override string Message get { // TODO: Would be nice to show the actual numbers, but that requires another request. - return "You are currently at your limit of private repositories. Either delete a private repository " - + "you no longer use or upgrade your account to a plan that allows for more private repositories."; + return "You are currently at your limit of private repositories. Either delete a private repository you no " + + "longer use (https://help.github.com/articles/deleting-a-repository/) or upgrade your account to a plan " + + "that allows for more private repositories (https://help.github.com/articles/what-plan-should-i-choose/)."; } } @@ -52,4 +53,4 @@ protected PrivateRepositoryQuotaExceededException(SerializationInfo info, Stream } #endif } -} \ No newline at end of file +}