From: David ‘Bombe’ Roden Date: Tue, 19 Mar 2013 20:25:06 +0000 (+0100) Subject: Finish pipeline when an exception occurs. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0f537e6e8b1afaefd0f86dc53a98328135c0b2ee;p=sonitus.git Finish pipeline when an exception occurs. --- 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; } } }