Talkにて未ログイン時にヘッダーのchatからsign in画面に遷移するとサーバーサイドでエラーが表示されます。 #1363
Closed
TeruyaYuma
started this conversation in
General
Replies: 1 comment
-
|
ご連絡ありがとうございます。Issues を作成して対応していきたいと思います。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
事象
未ログイン状態でヘッダーのchatからsign in画面に遷移するとcannot read propertyエラーが発生します。
再現方法
・末ログイン状態でヘッダーのchatからsign in画面に遷移
・ターミナル確認
※サーバーサイドで発生している為、コンソール、ブラウザ、画面では関連したエラーは表示されていません。

発生箇所
(authed)/chat/[room_id]/+page.server.ts
対応方法
上記ファイル6行目でlocalsのemailが取得できないのでエラーが発生しています。
emailがlocalsにない場合の分岐処理を入れることで対応できるかも(まだ前後処理など見れてないので断定できない要調査)
Beta Was this translation helpful? Give feedback.
All reactions