Files
home-assistant-core/homeassistant/components/sensor
Marcelo Moreira de Mello c22a73e1d0 Removed raise statement to don't pollute the user log. (#4536)
* Removed raise statement to don't polute the user log.
Only the error message should be displayed.

Nov 22 11:28:32 tchellopi hass[20138]: 16-11-22 11:28:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Nov 22 11:28:32 tchellopi hass[20138]: Traceback (most recent call last):
Nov 22 11:28:32 tchellopi hass[20138]: File "/usr/local/lib/python3.5/asyncio/tasks.py", line 241, in _step
Nov 22 11:28:32 tchellopi hass[20138]: result = coro.throw(exc)
Nov 22 11:28:32 tchellopi hass[20138]: File "/home/hass/.virtualenvs/home_assistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 386, in _update_entity_states
Nov 22 11:28:32 tchellopi hass[20138]: yield from update_coro
Nov 22 11:28:32 tchellopi hass[20138]: File "/home/hass/.virtualenvs/home_assistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 213, in async_update_ha_state
Nov 22 11:28:32 tchellopi hass[20138]: yield from self.hass.loop.run_in_executor(None, self.update)
Nov 22 11:28:32 tchellopi hass[20138]: File "/usr/local/lib/python3.5/asyncio/futures.py", line 361, in __iter__
Nov 22 11:28:32 tchellopi hass[20138]: yield self  # This tells Task to wait for completion.
Nov 22 11:28:32 tchellopi hass[20138]: File "/usr/local/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
Nov 22 11:28:32 tchellopi hass[20138]: future.result()
Nov 22 11:28:32 tchellopi hass[20138]: File "/usr/local/lib/python3.5/asyncio/futures.py", line 274, in result
Nov 22 11:28:32 tchellopi hass[20138]: raise self._exception
Nov 22 11:28:32 tchellopi hass[20138]: File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
Nov 22 11:28:32 tchellopi hass[20138]: result = self.fn(*self.args, **self.kwargs)
Nov 22 11:28:32 tchellopi hass[20138]: File "/home/hass/.homeassistant/custom_components/sensor/wunderground.py", line 187, in update
Nov 22 11:28:32 tchellopi hass[20138]: self.rest.update()
Nov 22 11:28:32 tchellopi hass[20138]: File "/home/hass/.virtualenvs/home_assistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 296, in wrapper
Nov 22 11:28:32 tchellopi hass[20138]: result = method(*args, **kwargs)
Nov 22 11:28:32 tchellopi hass[20138]: File "/home/hass/.homeassistant/custom_components/sensor/wunderground.py", line 222, in update
Nov 22 11:28:32 tchellopi hass[20138]: ["description"])
Nov 22 11:28:32 tchellopi hass[20138]: ValueError: you must supply a key

* Updated unittest since we are just printing the error instead raising
2016-11-22 23:41:51 -08:00
..
2016-08-30 21:34:33 +02:00
2016-10-11 00:56:57 -07:00
2016-10-30 22:18:53 +01:00
2016-10-14 00:06:04 -07:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-11-03 09:31:50 +01:00
2016-10-30 22:18:53 +01:00
2016-11-08 19:46:44 -08:00
2016-04-19 20:30:44 -07:00
2016-10-30 22:18:53 +01:00
2016-11-02 21:20:21 -07:00
2016-11-22 23:03:39 -08:00
2016-10-30 22:18:53 +01:00
2016-08-19 00:11:56 -07:00
2016-10-30 22:18:53 +01:00
2016-09-03 20:36:21 -06:00
2016-10-30 22:18:53 +01:00
2016-08-24 22:35:09 -06:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-09-06 08:53:21 -06:00
2016-10-30 22:18:53 +01:00
2016-10-03 23:21:53 +02:00
2016-11-21 17:31:14 +01:00
2016-10-30 22:18:53 +01:00
2016-11-08 00:07:24 +01:00
2016-11-08 21:00:33 -08:00
2016-11-03 18:32:14 -07:00
2016-10-30 22:18:53 +01:00
2016-09-17 10:29:58 -07:00
2016-10-30 09:58:34 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-11-21 19:36:44 -08:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-11-18 22:54:46 +01:00
2016-10-30 22:18:53 +01:00
2016-11-19 10:04:03 +01:00
2016-10-30 21:51:03 -07:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 09:58:34 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-11-22 22:32:45 -08:00
2016-10-30 22:18:53 +01:00
2016-11-03 18:32:14 -07:00
2016-11-03 18:32:14 -07:00
2016-11-02 21:17:29 -07:00
2016-10-21 21:14:35 -07:00
2016-10-30 22:18:53 +01:00
2016-11-22 21:48:22 -08:00
2016-10-30 09:58:34 +01:00
2016-11-07 22:31:40 -08:00
2016-11-03 18:32:14 -07:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 09:58:34 +01:00
2016-11-22 22:59:27 -08:00
2016-10-30 22:18:53 +01:00
2016-11-22 19:28:31 -08:00
2016-10-30 22:18:53 +01:00
2016-10-29 13:10:42 -07:00