mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +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}
|
||||
|
||||
-- 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