[tuxdroid-svn] r5731 - software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/p
Status: Beta
Brought to you by:
ks156
|
From: ks156 <c2m...@c2...> - 2009-10-19 12:53:19
|
Author: ks156
Date: 2009-10-19 14:53:04 +0200 (Mon, 19 Oct 2009)
New Revision: 5731
Modified:
software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java
Log:
* Applied changes made in the trunk.
The trunk has not been merged, because too many conflicts appeared.
Modified: software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java
===================================================================
--- software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java 2009-10-19 12:47:35 UTC (rev 5730)
+++ software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java 2009-10-19 12:53:04 UTC (rev 5731)
@@ -382,7 +382,14 @@
{
if ( ! this.getCommand().equalsIgnoreCase("check") )
{
- throwMessage("Twitter is busy for now, please, try again later.");
+ if (badRequest.getMessage().contains("401"))
+ {
+ throwMessage("Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration.");
+ }
+ else
+ {
+ throwMessage("Twitter is busy for now, please, try later.");
+ }
}
this.quitGadget();
|