jeromeludmann / deno-irc

IRC client protocol module for Deno
https://deno.land/x/irc
MIT License
13 stars 4 forks source link

fix(core): prevent throwing error on client.quit() #4

Closed jeromeludmann closed 3 years ago

jeromeludmann commented 3 years ago

Some Deno errors, like BadResource or Interrupted, seem to be useless from an API user point of view.

This change swallows these errors when they are thrown.

fix #3