Catch IOException to avoid annoying messages in the server logs.

This commit is contained in:
Maxime Sinclair
2013-06-04 16:07:31 +02:00
parent 017c690226
commit c166b507f0

View File

@@ -68,7 +68,11 @@ public abstract class UmlDiagramService extends HttpServlet {
// generate the response
DiagramResponse dr = new DiagramResponse( response, getOutputFormat());
dr.sendDiagram(uml);
try {
dr.sendDiagram(uml);
} catch (IOException ioe) {
// Browser has closed the connection, do nothing
}
dr = null;
}