ssbc / chloride

MIT License
90 stars 17 forks source link

If falling back to JavaScript, don't emit errors #27

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

Instead of emitting errors, emit log messages. Mainly because if we're in a browser (ssb-browser-demo), with these emitting errors it means every time the page loads it starts right off with two error messages.

arj03 commented 3 years ago

Maybe a console.warn instead?

KyleMaas commented 3 years ago

There 'ya go.

arj03 commented 3 years ago

Thanks :)