# Prompt the moment Convex stops accepting the session · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/f10102f529f90b7cc52e6ea491ba548f452d887f)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: f10102f529f90b7cc52e6ea491ba548f452d887f

Requested commit: f10102f529f90b7cc52e6ea491ba548f452d887f

Commit: f10102f529f90b7cc52e6ea491ba548f452d887f

Tree: 9e656c5114a32a6beaa5c446e01c453ba356465b

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Prompt the moment Convex stops accepting the session

When Convex dropped auth while Supabase still held a session, the
onAuthChange callback reported it with a plain Exception. Since the typed
Convex API (8ff0d5c), reportConvexUnauthenticated only accepts an error that
carries the server's UNAUTHENTICATED code, so it returned early and the user
heard nothing until their next edit or read failed. With nothing queued the
chip still said synced.

The callback now reports without an error, the way the client's own word
on auth is meant to be read.

```

## Parents

- [c2ddf79d7f5d83519e098e151021acdf34a9c04b](https://git.cafe/dara/icarus/commit/c2ddf79d7f5d83519e098e151021acdf34a9c04b?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/f10102f529f90b7cc52e6ea491ba548f452d887f?format=markdown)
