Philipp Hörist pushed to branch master at gajim / gajim


Commits:
2b20bfa1 by Philipp Hörist at 2026-01-18T13:08:00+01:00
new: Add more logging for drag and drop

- - - - -


1 changed file:

- gajim/common/util/uri.py


Changes:

=====================================
gajim/common/util/uri.py
=====================================
@@ -181,6 +181,7 @@ def parse_uri(uri: str) -> UriT:
 def filesystem_path_from_uri(uri: str) -> Path | None:
     puri = parse_uri(uri)
     if not isinstance(puri, FileUri):
+        log.warning("Not a FileUri: %s", puri)
         return None
 
     if puri.netloc and puri.netloc.lower() != "localhost" and sys.platform != 
"win32":
@@ -211,6 +212,7 @@ def get_file_path_from_uri(uri: str) -> Path | None:
         return None
 
     if not is_file:
+        log.warning("Path is not a file: %s", path)
         return None
 
     return path



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2b20bfa107958e4e7163d39ee298f27811168540

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2b20bfa107958e4e7163d39ee298f27811168540
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to