Missing PostHog API key is not being handled

Created on 17 February 2025, about 2 months ago

Problem/Motivation

Currently, there is no handling going on for a missing or not yet configured PostHog API-Key, which leads to errors like e.g., when trying to add a PostHog Webform handler, resulting in PHP errors.

Steps to reproduce

  1. Enable Webform and PostHog Webform modules
  2. Edit a webform any try to add a new Email/Handler
  3. Get an error message

Proposed resolution

Instead of just letting PHP throw the error, cancel the current operation and display a warning message about the missing key instead.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code (posthog)

Created by

🇩🇪Germany lrwebks Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024