mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01: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:
@@ -143,7 +143,7 @@ if service == 'loki' then
|
|||||||
local values = {message = message}
|
local values = {message = message}
|
||||||
|
|
||||||
-- Format the args into strings
|
-- 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)
|
local tagsTable = convertDDTagsToKVP(tags)
|
||||||
|
|
||||||
-- Concatenates tags kvp table to the values table
|
-- Concatenates tags kvp table to the values table
|
||||||
|
|||||||
Reference in New Issue
Block a user