ejnnr / web-chess

A web implementation of a chess database program like Scid.
MIT License
7 stars 4 forks source link

Improve exception handling #3

Closed ejnnr closed 9 years ago

ejnnr commented 9 years ago

In include/user_management.php there are a lot of PDO statements without try-catch-blocks. They should all have proper exception handling. For this pupose I'd suggest adding a logging mechanism (i.e. a log file). Also we should add a webChessException class to catch all exceptions thrown by WebChess.