diff --git a/homeassistant/components/sensor/swiss_public_transport.py b/homeassistant/components/sensor/swiss_public_transport.py
index 2ec16f7245221d153bd7bbbd7521b509618697a4..6e56a7bc45810c4cffb4ae634a180a6a32263d76 100644
--- a/homeassistant/components/sensor/swiss_public_transport.py
+++ b/homeassistant/components/sensor/swiss_public_transport.py
@@ -59,7 +59,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
             result = get(_RESOURCE + 'locations?query=%s' % location)
             journey.append(result.json()['stations'][0]['name'])
     except KeyError:
-        _LOGGER.error(
+        _LOGGER.exception(
             "Unable to determine stations. "
             "Check your settings and/or the availability of opendata.ch")