mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-02-07 13:08:25 +00:00
IIOException catched when browser session disappears
This commit is contained in:
parent
c166b507f0
commit
ab77f245f9
@ -24,6 +24,7 @@
|
||||
package net.sourceforge.plantuml.servlet;
|
||||
|
||||
import java.io.IOException;
|
||||
import javax.imageio.IIOException;
|
||||
import java.net.URLDecoder;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
@ -70,7 +71,7 @@ public abstract class UmlDiagramService extends HttpServlet {
|
||||
DiagramResponse dr = new DiagramResponse( response, getOutputFormat());
|
||||
try {
|
||||
dr.sendDiagram(uml);
|
||||
} catch (IOException ioe) {
|
||||
} catch (IIOException iioe) {
|
||||
// Browser has closed the connection, do nothing
|
||||
}
|
||||
dr = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user