Skip to content

Commit

Permalink
Exclude error from successful analytics payloads (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored and tasdomas committed Oct 27, 2022
1 parent 754e3b8 commit 5904ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const OS = () => {

const jitsuEventPayload = async ({
action = '',
error = '',
error,
extra = {},
cml
} = {}) => {
Expand Down

0 comments on commit 5904ea2

Please sign in to comment.