From 0f537e6e8b1afaefd0f86dc53a98328135c0b2ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 19 Mar 2013 21:25:06 +0100 Subject: [PATCH] Finish pipeline when an exception occurs. --- src/main/java/net/pterodactylus/sonitus/data/Pipeline.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/pterodactylus/sonitus/data/Pipeline.java b/src/main/java/net/pterodactylus/sonitus/data/Pipeline.java index f36f3c9..d9efcae 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Pipeline.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Pipeline.java @@ -285,12 +285,15 @@ public class Pipeline { } catch (IOException e) { /* TODO */ e.printStackTrace(); + break; } catch (InterruptedException e) { /* TODO */ e.printStackTrace(); + break; } catch (ExecutionException e) { /* TODO */ e.printStackTrace(); + break; } } } -- 2.7.4