Commit c166b507 authored by Maxime Sinclair's avatar Maxime Sinclair
Browse files

Catch IOException to avoid annoying messages in the server logs.

parent 017c6902
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment