Skip to content

Commit

Permalink
chore(deps): Update posthog-js to 1.85.4 (#18199)
Browse files Browse the repository at this point in the history
  • Loading branch information
posthog-bot authored Oct 26, 2023
1 parent 29fd836 commit 1d375c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/components/Errors/ErrorDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { EventType, RecordingEventType } from '~/types'
import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag'
import { IconFlag } from 'lib/lemon-ui/icons'
import clsx from 'clsx'
import posthog from 'posthog-js'
import { Link } from 'lib/lemon-ui/Link'
import posthog from 'posthog-js'

interface StackFrame {
filename: string
Expand Down Expand Up @@ -43,7 +43,7 @@ function StackTrace({ rawTrace }: { rawTrace: string }): JSX.Element | null {
)
} catch (e: any) {
//very meta
posthog.captureException(e, { tag: 'error-display-stack-trace' })
posthog.capture('Cannot parse stack trace in Exception event', { tag: 'error-display-stack-trace', e })
return <LemonTag type={'caution'}>Error parsing stack trace</LemonTag>
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"md5": "^2.3.0",
"monaco-editor": "^0.39.0",
"papaparse": "^5.4.1",
"posthog-js": "1.85.3",
"posthog-js": "1.85.4",
"posthog-js-lite": "2.0.0-alpha5",
"prettier": "^2.8.8",
"prop-types": "^15.7.2",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d375c0

Please sign in to comment.