git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remote: exceptions
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
RemoteLibraryServer.java
diff --git
a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java
b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java
index 015fb7bf33c9c2beb79a81173b1f02f180f48db9..c3933ebb276c65e171546109c59d6daa96df8501 100644
(file)
--- 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);
}
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);
commands.put(id, command);
wls.put(id, wl);