Commit b8f63a37 authored by Cédric Crettaz's avatar Cédric Crettaz 🖥
Browse files

Add debug for DCA Carouge fountain.

parent 84c6dfb8
......@@ -373,6 +373,9 @@ def _update_fountain_entity(sensor_dataFrame, timestamp):
# Debug for JSON frame'JSON: {}'.format(entity))
if not (200 <= r.status_code < 300):
app.logger.error('HTTP status code not 2xx, something went wrong..')
Supports Markdown
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