fix(db): incorrect error reporting failed queries

When using callback functions and throwing an error (i.e. attempt to index a nil value), it would respond about an error in a nested ref call.

Don't catch callback errors.
This commit is contained in:
Linden committed 2021-12-28 18:41:19 +11:00
1 parent 75eedcbb09
commit d54bcae363
4 files changed
+26 -23

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 '1.9.0'
version '1.9.1'
url 'https://github.com/overextended/oxmysql'
author 'overextended'