dev
Revisión | 8861084cd55da02d1f08e7a49265e6fec5df3c36 (tree) |
---|---|
Tiempo | 2012-02-18 23:17:47 |
Autor | kiri_feather <kiri_feather@user...> |
Commiter | Kimura Youichi |
unblockイベントに対応
userデータがないjsonがある?例外対応してtrace出力するように
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1223 e39ad16e-3079-482e-bb30-4b4d378143b6
@@ -55,5 +55,5 @@ Imports System.Runtime.InteropServices | ||
55 | 55 | ' <Assembly: AssemblyVersion("1.0.*")> |
56 | 56 | |
57 | 57 | <Assembly: AssemblyVersion("0.1.0.0")> |
58 | -<Assembly: AssemblyFileVersion("0.9.7.0")> | |
58 | +<Assembly: AssemblyFileVersion("0.9.7.1")> | |
59 | 59 |
@@ -1559,7 +1559,12 @@ Public Class Twitter | ||
1559 | 1559 | For Each status As TwitterDataModel.Status In items |
1560 | 1560 | Dim post As PostClass = Nothing |
1561 | 1561 | |
1562 | - post = CreatePostsFromStatusData(status) | |
1562 | + Try | |
1563 | + post = CreatePostsFromStatusData(status) | |
1564 | + Catch ex As NullReferenceException | |
1565 | + TraceOut(ex.Message + Environment.NewLine + content) | |
1566 | + Return "Invalid Json ?" | |
1567 | + End Try | |
1563 | 1568 | |
1564 | 1569 | If minimumId > post.Id Then minimumId = post.Id |
1565 | 1570 | '二重取得回避 |
@@ -2930,6 +2935,8 @@ Public Class Twitter | ||
2930 | 2935 | evt.Target = eventData.TargetObject.Name |
2931 | 2936 | Case "block" |
2932 | 2937 | evt.Target = "" |
2938 | + Case "unblock" | |
2939 | + evt.Target = "" | |
2933 | 2940 | Case "user_update" |
2934 | 2941 | evt.Target = "" |
2935 | 2942 | Case Else |