From 54d7fb3fedab8300f515b883705cb5f978528863 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Wed, 12 Jul 2017 18:20:56 +0200 Subject: [PATCH] updated error message for no token --- src/main/java/handiebot/HandieBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/handiebot/HandieBot.java b/src/main/java/handiebot/HandieBot.java index 6b678fd..d973651 100644 --- a/src/main/java/handiebot/HandieBot.java +++ b/src/main/java/handiebot/HandieBot.java @@ -134,7 +134,7 @@ public class HandieBot { try(BufferedReader reader = new BufferedReader(new FileReader(path))){ result = reader.readLine(); } catch (IOException e) { - System.err.println("IOException while trying to read token. "+e.getMessage()); + System.err.println("Unable to find the token file. You are unable to start the bot without this."); } return result; }