eth0izzle / shhgit

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.
MIT License
3.83k stars 481 forks source link

panic on GetRepositories #28

Closed l0rda closed 4 years ago

l0rda commented 4 years ago

Hi, got a panic:

Error getting GitHub events... trying again %!(EXTRA *url.Error=Get https://api.github.com/events?per_page=300: dial tcp 140.82.118.6:443: connect: operation timed out)panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13d8427]

goroutine 50 [running]: github.com/eth0izzle/shhgit/core.GetRepositories(0xc0000d4750) /Users/usr/Documents/Go/src/github.com/eth0izzle/shhgit/core/github.go:47 +0x4c7 created by main.main /Users/usr/Documents/Go/src/github.com/eth0izzle/shhgit/main.go:143 +0x203

RiRa12621 commented 4 years ago

Can you give a bit more context on how to reproduce this?