|
|
@ -336,15 +336,12 @@ public class Daemon { |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
|
try { |
|
|
|
try { |
|
|
|
dc.execute(s); |
|
|
|
dc.execute(s); |
|
|
|
} catch (RepositoryNotFoundException e) { |
|
|
|
|
|
|
|
// Ignored. Client cannot use this repository.
|
|
|
|
|
|
|
|
} catch (ServiceNotEnabledException e) { |
|
|
|
} catch (ServiceNotEnabledException e) { |
|
|
|
// Ignored. Client cannot use this repository.
|
|
|
|
// Ignored. Client cannot use this repository.
|
|
|
|
} catch (ServiceNotAuthorizedException e) { |
|
|
|
} catch (ServiceNotAuthorizedException e) { |
|
|
|
// Ignored. Client cannot use this repository.
|
|
|
|
// Ignored. Client cannot use this repository.
|
|
|
|
} catch (IOException e) { |
|
|
|
} catch (IOException e) { |
|
|
|
// Ignore unexpected IO exceptions from clients
|
|
|
|
// Ignore unexpected IO exceptions from clients
|
|
|
|
e.printStackTrace(); |
|
|
|
|
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
try { |
|
|
|
try { |
|
|
|
s.getInputStream().close(); |
|
|
|
s.getInputStream().close(); |
|
|
|