diff options
Diffstat (limited to 'src/main/java/uk')
-rw-r--r-- | src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java b/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java index 664030f..3514d4f 100644 --- a/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java +++ b/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java @@ -19,7 +19,7 @@ public class MsgRelayController { //DANGER //Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "echo theblueroom " + text + " | bash /home/smsd/msgrelay.bash "}); model.addAttribute("result", "OK"); - } catch (IOException e) { + } catch (Exception e) { System.out.println("Failed to run command echo theblueroom test " + text + " | bash /home/smsd/msgrelay.bash "); e.printStackTrace(); model.addAttribute("result", "failed"); |