spent the whole afternoon debugging what I thought was a bug in my code but it turns out if you call Promise.finally() nodejs will treat the rejection of that promise as unhandled and crash your program, regardless of whether it is handled or not. is this supposed to be intentional?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/jcoglan/statuses/115872187646276520 on your instance and quote it. (Note that quoting is not supported in Mastodon.)