Skip to content

Commit

Permalink
Improve CaptureEvent payload
Browse files Browse the repository at this point in the history
  • Loading branch information
devSparkle committed Dec 3, 2022
1 parent cbd0afd commit 401c6e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MainModule.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ function SDK:CaptureMessage(Message: string, Level: EventLevel?)
return self:CaptureEvent{
level = Level or "info",
message = {
message = RemovePlayerNamesFromString(Message)
formatted = RemovePlayerNamesFromString(Message),
message = Message,
}
}
end
Expand Down

0 comments on commit 401c6e6

Please sign in to comment.