authmod icon indicating copy to clipboard operation
authmod copied to clipboard

Error while inserting a new player in a database is not always caught

Open Chocorean opened this issue 4 years ago • 1 comments

it happened to me after a quick fix for #35

when cannot insert because of a unique key, the sql error is not caught, and player will need to register everytime they disconnect, which is critical.

Chocorean avatar Jul 02 '21 03:07 Chocorean

TODO: make sure an error is raised when trying to violate unicity or something like that

Chocorean avatar Jul 05 '21 16:07 Chocorean