williamsjokvist / cfn-tracker

Track the live ranked match data of any Street Fighter 6 player
https://cfn.williamsjokvist.se/
Other
46 stars 5 forks source link

Wrap SF6 auth function in a restore to prevent crash. #65

Closed tifye closed 10 months ago

tifye commented 10 months ago

Right now sf6.Authenticate contains a bunch of "Must" function calls from go-rod. It would be annoying to add error checking for every single line. Could instead wrap the function in a restore and return an error that way.