diff options
author | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2011-11-13 17:13:12 +0000 |
---|---|---|
committer | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2011-11-13 17:13:12 +0000 |
commit | 8ab84d9a905b639af44f83fe77c1568227d3c32b (patch) | |
tree | 603d92b1ddb08a26c730f95331a0d011426672c2 /core/post.rb | |
parent | 2f41d5364466072869393b5d1f775454ce3d350c (diff) | |
download | mikutter-8ab84d9a905b639af44f83fe77c1568227d3c32b.tar.gz |
merge 0.0.3 to 0.0.4
git-svn-id: svn://toshia.dip.jp/mikutter/branches/0.0.3@579 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'core/post.rb')
-rw-r--r-- | core/post.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/post.rb b/core/post.rb index d6c74d5c..6df6f19e 100644 --- a/core/post.rb +++ b/core/post.rb @@ -305,6 +305,10 @@ class Post yield(:start, nil) begin try_post(message, api, &Proc.new) + rescue ThreadError => err + yield(:err, err) + yield(:fail, err) + yield(:exit, nil) rescue Timeout::Error, StandardError => err yield(:err, err) yield(:fail, err) |