Commit b48c2567 authored by nextime's avatar nextime

Add error reporting to open weather map errors

parent 723636a1
......@@ -119,7 +119,7 @@ class OWMWeather(object):
self.updateDatabase()
def onError(self, res):
log.warning("OpenWeatherMap Weather call failed!")
log.warning("OpenWeatherMap Weather call failed! "+str(res))
self.data['clouds'] = 'unknown'
self.data['mmrain'] = 'unknown'
self.data['pressure'] = 'unknown'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment