Project-Sloth / ps-housing

Advanced housing system for QBCore.
https://discord.gg/projectsloth
Other
343 stars 110 forks source link

Added error prints to SQL queries #251

Closed xFutte closed 2 weeks ago

xFutte commented 2 weeks ago

Overview

This commit adds prints to the server.lua file.

Details

Since people are repeatedly asking for issues related to something (usually) database-related with ps-housing, I've added a couple of prints to the methods that interact with the database. This way, people get a clearer picture of what is happening.

Testing Steps

Unfortunately, I have not been able to test this, but I am fairly sure it works. Please test just in case.

xFutte commented 2 weeks ago

Please merge https://github.com/Project-Sloth/ps-housing/pull/247 to main first and run "rebase and merge" for this afterward