updated error message for no token
This commit is contained in:
parent
a55bb49f1c
commit
54d7fb3fed
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue