Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Crash on first run #68

Open
johnkors opened this issue Mar 5, 2015 · 1 comment
Open

Crash on first run #68

johnkors opened this issue Mar 5, 2015 · 1 comment

Comments

@johnkors
Copy link

johnkors commented Mar 5, 2015

Ran cinst gitreleasenotes

Typed Gitreleasenotes in a console from within my repo.

Crash.

Was expecting a /help thingy when running it without params..

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> Octokit.NotFoundException: repos/myorg/myprivaterepo/issues was not found.
   at Octokit.ApiPagination.<GetAllPages>d__1`1.MoveNext() in c:\Users\shiftkey\Documents\GitHub\octokit.net\Octokit\Clients\ApiPagination.cs:line 36
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at GitReleaseNotes.IssueTrackers.GitHub.GitHubIssueTracker.GetClosedIssues(Nullable`1 since) in c:\Users\jake.ginnivan\_code\GitReleaseNotes\src\GitReleaseNotes\IssueTrackers\GitHub\GitHubIssueTracker.cs:line 117
   at GitReleaseNotes.ReleaseNotesGenerator.GenerateReleaseNotes(IRepository gitRepo, IIssueTracker issueTracker, SemanticReleaseNotes previousReleaseNotes, String[] categories, TaggedCommit tagToStartFrom, ReleaseInfo currentReleaseInfo, String diffUrlFormat) in c:\Users\jake.ginnivan\_code\GitReleaseNotes\src\GitReleaseNotes\ReleaseNotesGenerator.cs:line 22
   at GitReleaseNotes.Program.GenerateReleaseNotes(String[] args) in c:\Users\jake.ginnivan\_code\GitReleaseNotes\src\GitReleaseNotes\Program.cs:line 114
   at GitReleaseNotes.Program.Main(String[] args) in c:\Users\jake.ginnivan\_code\GitReleaseNotes\src\GitReleaseNotes\Program.cs:line 30
@JakeGinnivan
Copy link
Contributor

Hey, sorry things are not working.

It looks like it is a private repository which would be causing the crash. You will have to pass an auth token.

There is a bunch of stuff I want to do around this project, I am just struggling to find the time. Appreciate you taking the time to report the issue. The idea is that it should just work when you run it, and errors like this should be caught and decent error messages given.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants