Skip to content

稀にユーザ情報が取得できない場合があり取得出来ないとコメントすら表示されなくなるので回避#195

Open
azutake wants to merge 2 commits intoCommentViewerCollection:masterfrom
azutake:hotfix/notsee-user-error
Open

稀にユーザ情報が取得できない場合があり取得出来ないとコメントすら表示されなくなるので回避#195
azutake wants to merge 2 commits intoCommentViewerCollection:masterfrom
azutake:hotfix/notsee-user-error

Conversation

@azutake
Copy link

@azutake azutake commented Apr 17, 2022

背景

稀にユーザ情報が取得出来ない時があり(サーバ側が不安定だったり、人により)、その場合コメントすら表示されなくなってしまう。

解決方法

ユーザ情報取得時にDataが0だった場合に例外としていたのをnullにし、nullじゃなければニックネームを使用するようにした

影響

無し。使用箇所はTestCommentProviderのみ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant