add logging

This commit is contained in:
Matthias Urlichs committed 2019-02-05 17:34:45 +01:00
1 parent 9b14f32279
commit e6f902cbe7
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ class GcodeWatchdogHandler(watchdog.events.PatternMatchingEventHandler):
try:
futurePath, futureFilename = self._file_manager.sanitize(octoprint.filemanager.FileDestinations.LOCAL, file_wrapper.filename)
except Exception:
# TODO really ignore?
self._logger.exception("Could not wrap %s", path)
futurePath = None
futureFilename = None