https://devhubby.com/thread/how-to-catch-an-error-in-haskell-and-ignore-it