Closed aboodman closed 2 years ago
This is pretty surprising and bad so we should fix for GA.
Yup, we do nothing if onError
is not provided. We should at least call console.error
.
https://github.com/rocicorp/replicache/blob/main/src/replicache.ts#L1140
I just did
useSubscribe(...thing that throws...)
and ... nothing showed up anywhere. What the? It looks like we swallow errors from subscription functions.We should send them to
console.error()
by default.