From e722ec171dd2b5cfc4b827b8baddf411107bd9fd Mon Sep 17 00:00:00 2001 From: Alex Smolya Date: Thu, 10 Sep 2026 20:16:57 +0200 Subject: [PATCH] Fix timeout logging in nemo-media-columns --- nemo-media-columns/nemo-media-columns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nemo-media-columns/nemo-media-columns.py b/nemo-media-columns/nemo-media-columns.py index df11f354..e4d57ade 100644 --- a/nemo-media-columns/nemo-media-columns.py +++ b/nemo-media-columns/nemo-media-columns.py @@ -167,8 +167,8 @@ def update_cb(self, provider, handle, closure, file): try: with stopit.ThreadingTimeout(self.timeout): info = self.get_media_info(uri, mimetype) - except stopit.utils.TimeoutException: - print("nemo-media-columns failed to process '%s' within a reasonable amount of time" % (gfile.get_uri(), e)) + except stopit.utils.TimeoutException as e: + print("nemo-media-columns failed to process '%s' within a reasonable amount of time: %s" % (uri, e)) # TODO: we shouldn't set attributes on files that didn't match any of our mimetypes. # we do currently so the given columns can be set to '' - we should maybe do this in