Improved error message for Twitter failed.

This commit is contained in:
Christian P. MOMON 2017-12-31 11:37:35 +01:00
parent c003848b8f
commit 4c0c7b2478
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ public class Hebdobot extends PircBot
catch (ApiException exception)
{
logger.error("Error in tweet", exception);
sendMessage("Pour information, le tweet de notifiation a échoué.");
sendMessage("Pour information, le tweet de notifiation a échoué : " + exception.getMessage());
}
}
}
@ -498,7 +498,7 @@ public class Hebdobot extends PircBot
else
{
logger.info("Else caught.");
// All the other.
if (this.review != null)
{