Closed andygrunwald closed 6 months ago
This Pull Request is doing two things:
panic: sync: negative WaitGroup counter goroutine 549 [running]: sync.(*WaitGroup).Add(0xc00027f4d0, 0xffffffffffffffff) /opt/homebrew/Cellar/go/1.22.2/libexec/src/sync/waitgroup.go:62 +0x1a4 sync.(*WaitGroup).Done(0xc00027f4d0) /opt/homebrew/Cellar/go/1.22.2/libexec/src/sync/waitgroup.go:87 +0x30 buchhalter/lib/browser.(*BrowserDriver).stepDownloadAll.func1.1() /Users/andy.grunwald/Development/private/buchhalter/buchhalter-ai-cli/lib/browser/browser.go:335 +0x30 created by buchhalter/lib/browser.(*BrowserDriver).stepDownloadAll.func1 in goroutine 100 /Users/andy.grunwald/Development/private/buchhalter/buchhalter-ai-cli/lib/browser/browser.go:334 +0x580 exit status 2
This Pull Request is doing two things:
1. Fix a panic
2. Add a new configuration how many invoices should be downloaded