Add logging

Prevent error in event profiling modules are not part of the standard
python library
This commit is contained in:
angelblue05 2016-08-21 16:28:26 -05:00
parent 00fd67cab3
commit 8cd4cb903e
2 changed files with 5 additions and 3 deletions

View file

@ -67,6 +67,7 @@ class Service():
# Initial logging
log.warn("======== START %s ========" % self.addonName)
log.warn("Python Version: %s", sys.version)
log.warn("Platform: %s" % (self.clientInfo.getPlatform()))
log.warn("KODI Version: %s" % xbmc.getInfoLabel('System.BuildVersion'))
log.warn("%s Version: %s" % (self.addonName, self.clientInfo.getVersion()))