diff --git a/addon.xml b/addon.xml index 6fc37717..e565c1e4 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/service_entry.py b/resources/lib/service_entry.py index 87cd8197..443c9248 100644 --- a/resources/lib/service_entry.py +++ b/resources/lib/service_entry.py @@ -165,8 +165,11 @@ class Service(object): ga = GoogleAnalytics() ga.sendEventData("Application", "Startup", serverId) - ga.sendEventData("Version", "OS", platform.platform()) - ga.sendEventData("Version", "Python", platform.python_version()) + try: + ga.sendEventData("Version", "OS", platform.platform()) + ga.sendEventData("Version", "Python", platform.python_version()) + except Exception: + pass # Start up events self.warn_auth = True