Skip to content

Add more sentry logs for cookies error - #135

Merged
veliseev93 merged 2 commits into
developmentfrom
veliseev/fix-cookies-error
Sep 15, 2026
Merged

veliseev93 merged 2 commits into
developmentfrom
veliseev/fix-cookies-error

Conversation

@veliseev93

Copy link
Copy Markdown
Collaborator

No description provided.

@VitalyMih VitalyMih left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@veliseev93 LGTM :) Only 1 note. Feel free to merge


class CookieService {
public async setToken(token: string): Promise<void> {
public async setToken(token?: string | null): Promise<void> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note: token?: string | null here seems unnecessary — both current call sites (authState$.signIn and appState$.init) already guarantee a non-null/non-undefined token before calling setToken, so this guard is currently unreachable.

@VitalyMih VitalyMih assigned veliseev93 and unassigned VitalyMih Sep 14, 2026
@veliseev93
veliseev93 merged commit caa4087 into development Sep 15, 2026
1 check passed
@veliseev93
veliseev93 deleted the veliseev/fix-cookies-error branch September 15, 2026 04:41
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.

2 participants