fix(db): handle errors during callbacks

Handles errors that would previously disappear into the void or show as 'undefined'.

In Lua this would only occur if yielding during the query callback response.

Cross runtime error handling is suffering.
This commit is contained in:
Linden committed 2022-06-26 04:02:50 +10:00
1 parent db0f29db42
commit d80615bddc
5 files changed
+51 -34

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ game 'common'
name 'oxmysql'
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
version '2.3.3'
version '2.3.4'
url 'https://github.com/overextended/oxmysql'
author 'overextended'