posthog-js icon indicating copy to clipboard operation
posthog-js copied to clipboard

feat(feature-flags): error callback

Open mariusandra opened this issue 3 years ago • 1 comments

Changes

  1. Fixes feature flags sending [] when /decide errors
  2. Implements posthog.onDecideError(error => console.log(error)) to alert users when /decide fails, e.g. via ad blockers.

Requested by a customer.

Checklist

  • [ ] Tests for new code (see advice on the tests we use)
  • [ ] Accounted for the impact of any changes across different browsers
  • [ ] TypeScript definitions (module.d.ts) updated and in sync with library exports (if applicable)

mariusandra avatar Jul 07 '22 09:07 mariusandra

@benjackwhite as you want to work on the JS libraries soon, here's a challenge. Help me get this PR in 😅

mariusandra avatar Jul 07 '22 13:07 mariusandra

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

posthog-bot avatar Apr 05 '23 09:04 posthog-bot

This PR was closed due to lack of activity. Feel free to reopen if it's still relevant.

posthog-bot avatar Apr 13 '23 09:04 posthog-bot

Hey! What are the next steps in this PR? As a posthog dev user, I wanna know when posthog is failed, please let me know if I can help

algosdev avatar Jul 05 '23 11:07 algosdev