Commits

Anonymous committed 9c45499

stack

Comments (0)

Files changed (1)

domain/__init__.py

                     logging.debug("Device %s: %s" % (id, readings[id]))
                 except Exception as e:
                     logging.warning("Error reading %s: %s" % (device.id, e))
-                    logging.warning("Stack %s" % (traceback.print_exc(),))
+                    logging.warning("Stack %s" % (traceback.format_exc(),))
 
             for trigger in device.triggers:
                 update = device.check_trigger(trigger, reading=readings.get(id, None))