Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Dec 19, 2024
1 parent 2bd1895 commit e8e2984
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/ee/onyx/utils/telemetry.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Any

from posthog import Posthog

from ee.onyx.configs.app_configs import POSTHOG_API_KEY
Expand All @@ -7,7 +9,7 @@
logger = setup_logger()


def posthog_on_error(error, items):
def posthog_on_error(error: Any, items: Any) -> None:
logger.error(f"PostHog error: {error}, items: {items}")


Expand Down

0 comments on commit e8e2984

Please sign in to comment.