aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bltouch.py
diff options
context:
space:
mode:
authorSamori Gorse <samorigorse+github@gmail.com>2019-01-29 15:51:31 +0100
committerKevinOConnor <kevin@koconnor.net>2019-01-29 11:18:44 -0500
commit04c6e1f6460258580e8b187a6633349c1dcd2416 (patch)
tree7944d2018d8817f111245bb285e6fbacf6531791 /klippy/extras/bltouch.py
parentc3e889a67cf5ac0ad2a04b8b5ed7fb4c7fb5bbcd (diff)
downloadkutter-04c6e1f6460258580e8b187a6633349c1dcd2416.tar.gz
kutter-04c6e1f6460258580e8b187a6633349c1dcd2416.tar.xz
kutter-04c6e1f6460258580e8b187a6633349c1dcd2416.zip
idle_timeout: Added a missing logging import
I noticed Octoprint was disconnecting after a while, and after reading the logs, I came across this error: ``` Unhandled exception during run Traceback (most recent call last): File "/home/pi/klipper/klippy/klippy.py", line 171, in run self.reactor.run() File "/home/pi/klipper/klippy/reactor.py", line 176, in run g_next.switch() File "/home/pi/klipper/klippy/reactor.py", line 203, in _dispatch_loop timeout = self._check_timers(eventtime) File "/home/pi/klipper/klippy/reactor.py", line 82, in _check_timers t.waketime = t.callback(eventtime) File "/home/pi/klipper/klippy/extras/idle_timeout.py", line 62, in timeout_handler return self.check_idle_timeout(eventtime) File "/home/pi/klipper/klippy/extras/idle_timeout.py", line 59, in check_idle_timeout return self.transition_idle_state(eventtime) File "/home/pi/klipper/klippy/extras/idle_timeout.py", line 35, in transition_idle_state logging.exception("idle timeout gcode execution") NameError: global name 'logging' is not defined ``` I therefore added the missing import. Signed-off-by: Samori Gorse <samori.gorse+github@gmail.com>
Diffstat (limited to 'klippy/extras/bltouch.py')
0 files changed, 0 insertions, 0 deletions