From 8116b53018dc9de65a45efcae2fbd2c285e6d984 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 12 Jul 2016 00:08:34 +0800 Subject: [PATCH] Refactor GVFS (don't require libgio) --- source/net/filebot/ui/transfer/FileTransferable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/ui/transfer/FileTransferable.java b/source/net/filebot/ui/transfer/FileTransferable.java index 2a84636f..c1f80f55 100644 --- a/source/net/filebot/ui/transfer/FileTransferable.java +++ b/source/net/filebot/ui/transfer/FileTransferable.java @@ -127,12 +127,12 @@ public class FileTransferable implements Transferable { file = GVFS.getDefaultVFS().getPathForURI(uri); } } catch (LinkageError error) { - debug.log(Level.WARNING, "Unable to resolve GVFS URI", error); + debug.log(Level.WARNING, "Unable to resolve GVFS URI: " + uri, error); } } if (file == null || !file.exists()) { - throw new FileNotFoundException(file != null ? file.getPath() : line); + throw new FileNotFoundException(line); } files.add(file);