X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FRemoteLibraryServer.java;h=c3933ebb276c65e171546109c59d6daa96df8501;hb=5db598bc6386aaabe69f2eed55b03625c72c236b;hp=015fb7bf33c9c2beb79a81173b1f02f180f48db9;hpb=210465c33ff5e9b45e7afe808c18b23c4cf14b38;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java index 015fb7b..c3933eb 100644 --- a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java +++ b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java @@ -144,7 +144,12 @@ public class RemoteLibraryServer extends ServerObject { } System.out.println(trace); - Object rep = doRequest(action, command, args, rw, whitelist); + Object rep = null; + try { + rep = doRequest(action, command, args, rw, whitelist); + } catch (IOException e) { + rep = new RemoteLibraryException(e); + } commands.put(id, command); wls.put(id, wl);