mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Improve logging.
This commit is contained in:
@@ -292,11 +292,13 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
|
|||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (IOException e) {
|
||||||
|
|
||||||
|
// Log typically frequent I/O error if desired
|
||||||
|
logger.debug("Error writing to servlet output stream", e);
|
||||||
|
|
||||||
// Detach and close
|
// Detach and close
|
||||||
session.detachTunnel(tunnel);
|
session.detachTunnel(tunnel);
|
||||||
tunnel.close();
|
tunnel.close();
|
||||||
|
|
||||||
throw new GuacamoleServerException("I/O error writing to servlet output stream.", e);
|
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
tunnel.releaseReader();
|
tunnel.releaseReader();
|
||||||
|
Reference in New Issue
Block a user