ErrorTrackerNotifier.UrlHelper (error_tracker_notifier v0.2.0)
View SourceHelper functions for generating URLs to errors in the error tracker.
Summary
Functions
Gets the base URL from configuration.
Generates a full URL to view an error in the error tracker.
Functions
Gets the base URL from configuration.
The client application must set this in their config:
config :error_tracker_notifier,
# ... other error tracker config
base_url: "https://your-app-domain.com"
or for environment-specific URLs:
config :error_tracker_notifier,
# ... other error tracker config
base_url: System.get_env("APP_BASE_URL", "https://localhost:4000")
If no base_url is configured, it will attempt to use the application's web endpoint module (e.g., MyAppWeb.Endpoint.url()) if available.
Generates a full URL to view an error in the error tracker.