Improved error message for Twitter failed.
This commit is contained in:
parent
c003848b8f
commit
4c0c7b2478
@ -165,7 +165,7 @@ public class Hebdobot extends PircBot
|
|||||||
catch (ApiException exception)
|
catch (ApiException exception)
|
||||||
{
|
{
|
||||||
logger.error("Error in tweet", 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
|
else
|
||||||
{
|
{
|
||||||
logger.info("Else caught.");
|
logger.info("Else caught.");
|
||||||
|
|
||||||
// All the other.
|
// All the other.
|
||||||
if (this.review != null)
|
if (this.review != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user