microl44 / Julet

Website visualizing data from my watched movies, brought forward by the jul.
3 stars 1 forks source link

Add appropriate error logging instead of "<br><br><br> oppsie woopsie we did a fucky wucky" bullshit. #132

Closed microl44 closed 4 months ago

microl44 commented 4 months ago

Currently the error handling messages during development is supplied to the developer via fucky wucky br bullshit. This error handling should not be visible for the user, and instead should be inserted into a log file on the server.

This error_log should at least include the date, timestamp and error message. If possible the version of the code-base should be included as well.

Should probably function as a function in includers/basic.php for easy usage. Keep in mind that this should point to the error_log file in the Julet root directory, no matter from what page the code is executed.

microl44 commented 4 months ago

Fixed as of pull request #133.