mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-14 09:13:56 +00:00
Only Loki logging was affected. When no tags were given and the source is console the convertDDTagsToKVP break because of the nil value.
This commit is contained in:
1 parent
4f71595122
commit
a4d553cbb1
1 file changed
+1
-1
@@ -143,7 +143,7 @@ if service == 'loki' then
|
||||
local values = {message = message}
|
||||
|
||||
-- Format the args into strings
|
||||
local tags = formatTags(source, ... and string.strjoin(',', string.tostringall(...)) or nil)
|
||||
local tags = formatTags(source, ... and string.strjoin(',', string.tostringall(...)) or {})
|
||||
local tagsTable = convertDDTagsToKVP(tags)
|
||||
|
||||
-- Concatenates tags kvp table to the values table
|
||||
|
||||
Reference in new issue
Block a user