diff options
Diffstat (limited to 'klippy/extras/heaters.py')
-rw-r--r-- | klippy/extras/heaters.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/heaters.py b/klippy/extras/heaters.py index 54805013..7cb663a4 100644 --- a/klippy/extras/heaters.py +++ b/klippy/extras/heaters.py @@ -259,7 +259,8 @@ class PrinterHeaters: try: dconfig = pconfig.read_config(filename) except Exception: - raise config.config_error("Cannot load config '%s'" % (filename,)) + logging.exception("Unable to load temperature_sensors.cfg") + raise config.error("Cannot load config '%s'" % (filename,)) for c in dconfig.get_prefix_sections(''): self.printer.load_object(dconfig, c.get_name()) def add_sensor_factory(self, sensor_type, sensor_factory): |