updated error message for no token

This commit is contained in:
Andrew Lalis 2017-07-12 18:20:56 +02:00 committed by Andrew Lalis
parent a55bb49f1c
commit 54d7fb3fed
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class HandieBot {
try(BufferedReader reader = new BufferedReader(new FileReader(path))){ try(BufferedReader reader = new BufferedReader(new FileReader(path))){
result = reader.readLine(); result = reader.readLine();
} catch (IOException e) { } 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; return result;
} }