You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2015/11/04 00:00:46 UTC
[2/3] incubator-streams git commit: report ID for User does not exist
as well
report ID for User does not exist as well
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/9b38c495
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/9b38c495
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/9b38c495
Branch: refs/heads/master
Commit: 9b38c49542af9f11ca03ba0111acadcfbcf6e269
Parents: 0070141
Author: Steve Blackmon <sb...@apache.org>
Authored: Fri Oct 30 13:19:45 2015 -0500
Committer: Steve Blackmon <sb...@apache.org>
Committed: Fri Oct 30 13:19:45 2015 -0500
----------------------------------------------------------------------
.../apache/streams/twitter/provider/TwitterErrorHandler.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/9b38c495/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterErrorHandler.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterErrorHandler.java b/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterErrorHandler.java
index 7f515ee..fd063a1 100644
--- a/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterErrorHandler.java
+++ b/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterErrorHandler.java
@@ -68,7 +68,10 @@ public class TwitterErrorHandler
{
if(e.getMessage().toLowerCase().contains("does not exist"))
{
- LOGGER.warn("User does not exist...");
+ if( id != null )
+ LOGGER.warn("User does not exist: {}", id);
+ else
+ LOGGER.warn("User does not exist");
return 100;
}
else