mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
12 lines
220 B
GDScript
12 lines
220 B
GDScript
extends AnalyticsSender
|
|
class_name AnalyticsSenderError
|
|
|
|
|
|
func start() -> void:
|
|
super.start()
|
|
|
|
Debug.error.connect(send_error)
|
|
|
|
|
|
func send_error(msg: String) -> void:
|
|
analytics.send_event(AnalyticsEvents.error(msg))
|