arj03 / ssb-browser-core

ssb-server in a browser
Other
50 stars 8 forks source link

Pass missing blob errors back rather than crash #24

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

Rather than crashing if there is no active connection to a server, pass the error back up the chain so it can be gracefully handled.

See https://github.com/arj03/ssb-browser-demo/issues/76#issuecomment-762892413

arj03 commented 3 years ago

Ok, was looking at the error message for a while to see if I could come up with something better.