Skip to content

Commit

Permalink
fix: print erorStackTrace as array in ErrorExt (#3520)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMarbot authored Nov 15, 2023
1 parent f8f67ee commit 2fe0b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/error_ext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function ErrorExt.printErrorJson(error)
return Json.stringify({
errorShort = string.format('Lua error in %s:%s at line %s:%s.', unpack(mw.text.split(error.error, ':', true))),
stackTrace = stackTrace,
})
}, {asArray = true})
end

local Stash = {}
Expand Down

0 comments on commit 2fe0b98

Please sign in to comment.