blowfishxyz / blocklist

Javascript library to use Blowfish blocklists locally
https://blowfish.xyz/
MIT License
11 stars 0 forks source link

feat: allow integrators to track errors thrown #7

Closed sevazhidkov closed 1 year ago

sevazhidkov commented 1 year ago

Normally, we swallow all happened errors. This change adds a feature to get errors reported via a callback. The method would still produce null.

Additionally, I noticed that I didn't properly handle all of error cases 🙈 So there is a tiny fix related to that as well.