ap-pauloafonso / ratio-spoof

A bittorrent ratio spoof tool
MIT License
90 stars 13 forks source link

Why not returning an error here? #8

Closed damianopetrungaro closed 3 years ago

damianopetrungaro commented 3 years ago

https://github.com/ap-pauloafonso/ratio-spoof/blob/1ab6b86dd2c781ade09e75cb40dbb6911806c39f/ratiospoof/ratiospoof.go#L401

ap-pauloafonso commented 3 years ago

yes, there are other places that i was triggering panic for no reason, a couple days ago i fixed these cases, now we always return the error to the caller.