jugyo / earthquake

Twitter terminal client with streaming API support.
MIT License
661 stars 94 forks source link

Exception backtracing thread to protected tweet #98

Closed seppo0010 closed 12 years ago

seppo0010 commented 12 years ago

When calling :thread on a tweet that leads to a protected tweet an exception is raised and no tweet is displayed.

Ex.: user A has protected tweets and the current user is not authorized to view his tweets.

[$aa] B: @A yeah, me too (reply to $ab) ...
⚡ :thread $aa
.
⚡ 

I was able to see the exception showing an invalid json with some html page in the growl notification, but not enough to get something useful.

no6v commented 12 years ago

Hmm, I cannot reproduce this. In my environment the above case shows without exception:

⚡ :thread $aa
|__[$aa] B: @A yeah, me too (reply to $ab) ...

The beginning of the line is (random) colored mark for not stream and one level indent (two spaces). This result is suite for the code of :thread command, I guess.

seppo0010 commented 12 years ago

I'm unable to reproduce it now, but I was yesterday... I will reopen this issue if I find anything else, but seems to be working fine.