Autorank-2 icon indicating copy to clipboard operation
Autorank-2 copied to clipboard

Incorrect Loop Guarding

Open Sxtanna opened this issue 4 years ago • 0 comments

https://github.com/Staartvin/Autorank-2/blob/7b579e2fd30da32e57f9fc7867729b4ffd49bd5b/src/me/armar/plugins/autorank/pathbuilder/playerdata/global/GlobalPlayerDataStorage.java#L144-L150

If this call to ResultSet#next results in an SQLException, it will simply print the stacktrack then produce more errors. It will never break from the loop. This causes infinite stacktrace spam in the console, producing gigantic log files.

Please fix.

Sxtanna avatar Dec 17 '21 19:12 Sxtanna