From e6f902cbe701db6b044bb986c99383dbb9017a7c Mon Sep 17 00:00:00 2001 From: Matthias Urlichs Date: Tue, 5 Feb 2019 17:34:45 +0100 Subject: [PATCH] add logging --- src/octoprint/server/util/watchdog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/util/watchdog.py b/src/octoprint/server/util/watchdog.py index db698f6af..bf09ddb8d 100644 --- a/src/octoprint/server/util/watchdog.py +++ b/src/octoprint/server/util/watchdog.py @@ -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